inherited FNotaFiscalImportacao: TFNotaFiscalImportacao
  Left = 416
  Top = 113
  Caption = 'FNotaFiscalImportacao'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited pcCadastro: TPageControl
    inherited TsPesquisa: TTabSheet
      inherited pnPesquisaPadrao: TPanel
        object GroupBox1: TGroupBox
          Left = 692
          Top = -4
          Width = 147
          Height = 59
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 3
          object CheckBox1: TCheckBox
            Tag = 1
            Left = 1
            Top = 24
            Width = 145
            Height = 17
            Caption = 'N'#227'o Emitida'
            Color = clYellow
            ParentColor = False
            TabOrder = 0
          end
          object CheckBox2: TCheckBox
            Tag = 1
            Left = 1
            Top = 8
            Width = 145
            Height = 17
            Caption = 'Emitida'
            Color = clLime
            ParentColor = False
            TabOrder = 1
          end
          object CheckBox3: TCheckBox
            Tag = 1
            Left = 1
            Top = 41
            Width = 145
            Height = 17
            Caption = 'Cancelada'
            Color = clGray
            ParentColor = False
            TabOrder = 2
          end
        end
      end
    end
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        inherited panel2: TPanel
          inherited DBNavigator1: TDBNavigator
            Hints.Strings = ()
          end
        end
        inherited panel3: TPanel
          object LbFechamento: TLabel [3]
            Left = 634
            Top = 44
            Width = 71
            Height = 13
            Caption = 'LbFechamento'
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clRed
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
          object BitBtn2: TBitBtn
            Left = 5
            Top = 30
            Width = 100
            Height = 25
            Caption = 'NF-e'
            TabOrder = 4
            OnClick = BitBtn2Click
            Glyph.Data = {
              B6030000424DB603000000000000360000002800000012000000100000000100
              18000000000080030000C40E0000C40E00000000000000000000FAFEFFF3F7FC
              F1F4F8F6F8F9F5F4F6F8F6F6FEF8F9FCF6F7FDF5F6FEF6F7FEF4FAFEF4FAFFF8
              FFFFFBFFFFFAFFF6F1FAFEFBFDFCFCFC0000E8EEF3F8FFFFF8FDFFF8FCFDFFFF
              FFFCFAFAF2EDEEFFFCFBF7F1F2ECE4E5F5ECEFFFFDFFFDF5FCF1E9F0F6EEF8FF
              FCFFFEFBFDFCFCFC0000F2FEFFEDF9FBF0F9FCDAE2E2B4B9B8BABDBBE3E1E0F8
              F5F1D7D3D2BCB7B6C9C4C3EFE9EAFDF6F9FFFAFCFFFDFFFEFBFDFEFBFDFCFCFC
              0000EFFCFEF1FFFEBFCBCBABB6B4D6DDDAD0D4CFA5A7A1A4A49EC7C4BFB5B2AD
              C4C0BBE1DCD9F3EEEBFFFFFEFFFFFEF2EDEEFEFCFCFCFCFC0000F0FFFFE0EEED
              D2DFDDCBD6D3D6DDD8F0F7F0FEFFF8F1F2E8A6A69AA5A398B9B5AACAC5BCCFCA
              C1E1DED6FCF6EFFFFDF8FEFCFBFCFCFC0000F1FFFEF3FFFFC7D2CFB4BEB8F3FB
              F4FCFFF8CDCFC3C7C6B8BCB9ABA7A495A29D8EB5B0A1C2BCAFC4BEB1DED8CDFF
              FFF7FEFDF9FCFCFC0000F3FEFCF6FFFEDAE1DEC0C6C1D6D9D0F4F3E9FBFAECFF
              FBECF0E9D8D5CDBCB6AC9BBCB2A1D2C8B7C7BDACCAC0AFF0E8DBFFFDF9FCFCFC
              0000F1F6F4FBFFFEE0E4DFC9CBC5F3F0E8F4F0E5C9C1B4B9B1A0BCB09ECABEAC
              B7A997AFA18FC9BBA9C8BAA8CCBEACF1E6D8FFFCF9FCFCFC0000FDFBFAF8F6F5
              FCF9F5E1DED6C4BBB2E4DBCEFBEEE0D7C8B8E7D7C6D5C3B2E2CEBCBBA795B29E
              8CD7C3B1D4C0AFD8C8BBF3EEEBFEFEFE0000FFFFFEE6E1DEE9E2DFBDB3ACBCB1
              A9B8A9A0E1D1C4CDBDADC5B0A1D2BEADFFEDDCC8B4A3B9A292C1AD9CC8B3A4C6
              B6AAD8D3D0EBEBEB0000FFFEFED7CECBBDB1AFD0C4BEC9BCB4B7A89FC6B6AAF2
              E1D4DFC9BDE7D2C3FFFAEBC8B5A6C0AA9EBFAC9FCAB7AABAABA2D6D1CEEBEBEB
              0000F2EAEAFEF4F4E0D4D2BDB2AEBDAFA9CABDB5BEAFA6B4A498E0CEC3DECCC1
              F0DED3C2B2A6B6A59CBDAEA5C8B9B0C1B5AFF0ECEBFCFCFC0000FFFFFEE5E0DF
              F3ECE9C0BAB5FAF0E9AAA198B2A79FAAA096B9ADA3BEB4AACBC0B8CFC6BDB3A9
              A2C3BBB4D1C8C4E8E3E0FEFCFBFFFFFF0000F1EFEEF2F0EFFDF9F8C7C4C0F2EE
              E9D0CAC3D2CCC5B7B2A9B1ABA4A9A39C9A978FBBB8B3A7A4A0C4C3BFCCCDCBEA
              EAEAFAFAFAFEFEFE0000FDFFFFF0F3F1DCDDDBF4F5F1E9E9E3D9D9D3C1C1BBD5
              D6CDFDFDF7E4E6E0C7CBC6DEE3E1D9DEDDF1F7F6F5FDFDF8FFFFF6F8F8FEFEFE
              0000EDF2F1F5FAF9F6F9F7F5F9F4FAFBF7FFFFFBFFFFFBF7F9F3F8FCF6F8FFF8
              F9FEFCF8FFFEF3FBFBECF8F8F4FFFFEEF8F8F6FAFBFFFFFF0000}
          end
          object BtnEmissao: TBitBtn
            Left = 5
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Emiss'#227'o'
            TabOrder = 5
            OnClick = BtnEmissaoClick
            Glyph.Data = {
              36010000424D3601000000000000760000002800000012000000100000000100
              040000000000C000000000000000000000001000000000000000000000000000
              8000008000000080800080000000800080008080000080808000C0C0C0000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF008F0000000000
              0000080000008F7777777777777708000000F77777777777777770000000F888
              88888888888880000000F8A288888808080880000000F88FFFFFFFFFFFFF8000
              0000FFF8888888888888FF000000888FFFFFFFFFFFF788000000888F88888888
              88F788000000888FFFFFFFFFFFF788000000888F8888888888F788000000888F
              FFFFFFFFFFF788000000888F8888888888F788000000888FFFFFFFFFF7778800
              0000888FFFFFFFFFF7F888000000888FFFFFFFFFF78888000000}
          end
          object BitCobranca: TBitBtn
            Left = 108
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Fechamento'
            TabOrder = 6
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              333333333333333333333333333333333333333FFFFFFFFFFF33330000000000
              03333377777777777F33333003333330033333377FF333377F33333300333333
              0333333377FF33337F3333333003333303333333377FF3337333333333003333
              333333333377FF3333333333333003333333333333377FF33333333333330033
              3333333333337733333333333330033333333333333773333333333333003333
              33333333337733333F3333333003333303333333377333337F33333300333333
              03333333773333337F33333003333330033333377FFFFFF77F33330000000000
              0333337777777777733333333333333333333333333333333333}
            NumGlyphs = 2
          end
          object BtnCobranca: TBitBtn
            Left = 108
            Top = 30
            Width = 100
            Height = 25
            Caption = 'Cobran'#231'a'
            TabOrder = 7
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00300000000000
              0003377777777777777308888888888888807F33333333333337088888888888
              88807FFFFFFFFFFFFFF7000000000000000077777777777777770F8F8F8F8F8F
              8F807F333333333333F708F8F8F8F8F8F9F07F333333333337370F8F8F8F8F8F
              8F807FFFFFFFFFFFFFF7000000000000000077777777777777773330FFFFFFFF
              03333337F3FFFF3F7F333330F0000F0F03333337F77773737F333330FFFFFFFF
              03333337F3FF3FFF7F333330F00F000003333337F773777773333330FFFF0FF0
              33333337F3F37F3733333330F08F0F0333333337F7337F7333333330FFFF0033
              33333337FFFF7733333333300000033333333337777773333333}
            NumGlyphs = 2
          end
          object BtnMudaSituacao: TBitBtn
            Left = 211
            Top = 5
            Width = 111
            Height = 25
            Caption = 'Cancelamento'
            TabOrder = 8
            OnClick = BtnMudaSituacaoClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              0400000000000001000000000000000000001000000000000000000000000000
              8000008000000080800080000000800080008080000080808000C0C0C0000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
              3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
              33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
              993337777F777F3377F3393999707333993337F77737333337FF993399933333
              399377F3777FF333377F993339903333399377F33737FF33377F993333707333
              399377F333377FF3377F993333101933399377F333777FFF377F993333000993
              399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
              99333773FF777F777733339993707339933333773FF7FFF77333333999999999
              3333333777333777333333333999993333333333377777333333}
            NumGlyphs = 2
          end
          object BitBtn3: TBitBtn
            Left = 211
            Top = 30
            Width = 111
            Height = 25
            Caption = 'Envia XML'
            TabOrder = 9
          end
          object BitBtn5: TBitBtn
            Left = 323
            Top = 5
            Width = 111
            Height = 25
            Caption = 'Gerar GNRE'
            TabOrder = 10
            NumGlyphs = 2
          end
        end
        object Panel4: TPanel
          Left = 1
          Top = 36
          Width = 842
          Height = 23
          Align = alTop
          Color = clSilver
          TabOrder = 2
          object Label34: TLabel
            Left = 5
            Top = 4
            Width = 49
            Height = 16
            Caption = 'C'#243'digo:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object DBText10: TDBText
            Left = 60
            Top = 4
            Width = 53
            Height = 14
            DataField = 'NF_CODIGO'
            DataSource = dsCadastro
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object Label4: TLabel
            Left = 150
            Top = 4
            Width = 49
            Height = 16
            Caption = 'Cliente:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LbCliente: TLabel
            Left = 213
            Top = 4
            Width = 339
            Height = 14
            AutoSize = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object Label36: TLabel
            Left = 572
            Top = 4
            Width = 60
            Height = 16
            Caption = 'Qtd Itens:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LbQtdItens: TLabel
            Left = 637
            Top = 4
            Width = 22
            Height = 14
            AutoSize = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object Label88: TLabel
            Left = 676
            Top = 4
            Width = 74
            Height = 16
            Caption = 'Valor Total:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
          object LbValorTotal: TLabel
            Left = 757
            Top = 4
            Width = 73
            Height = 14
            Alignment = taRightJustify
            AutoSize = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clBlack
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
          end
        end
        object PageControl: TPageControl
          Left = 1
          Top = 59
          Width = 842
          Height = 366
          ActivePage = TSItensNotaFiscal
          Align = alClient
          TabOrder = 3
          TabStop = False
          object TSAbertura: TTabSheet
            Caption = 'Abertura'
            object DBTCancelamento: TDBText
              Left = 63
              Top = 69
              Width = 541
              Height = 17
              DataField = 'NF_CANCELAMENTO'
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clRed
              Font.Height = -11
              Font.Name = 'MS Sans Serif'
              Font.Style = []
              ParentFont = False
            end
            object Label80: TLabel
              Left = 1
              Top = 287
              Width = 82
              Height = 16
              Caption = 'Situa'#231#227'o RPS'
            end
            object GroupBox3: TGroupBox
              Left = 1
              Top = -1
              Width = 616
              Height = 70
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 0
              object Label1: TLabel
                Left = 6
                Top = 17
                Width = 51
                Height = 13
                AutoSize = False
                Caption = 'C'#243'digo'
              end
              object Label6: TLabel
                Left = 516
                Top = 18
                Width = 82
                Height = 16
                Caption = 'Data Emiss'#227'o'
              end
              object DBDEDataEmissao: TDBDateEdit
                Left = 516
                Top = 32
                Width = 80
                Height = 21
                DataField = 'NF_DATAEMISSAO'
                DataSource = dsCadastro
                ReadOnly = True
                Color = clWhite
                Ctl3D = False
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 0
              end
              object DBRGSituacao: TDBRadioGroup
                Tag = 5
                Left = 63
                Top = 0
                Width = 150
                Height = 70
                Caption = '  Situa'#231#227'o  '
                Color = clBtnFace
                Ctl3D = False
                DataField = 'NF_SITUACAO'
                DataSource = dsCadastro
                Enabled = False
                Items.Strings = (
                  'N'#227'o emitida'
                  'Emitida'
                  'Cancelada')
                ParentColor = False
                ParentCtl3D = False
                ReadOnly = True
                TabOrder = 1
                Values.Strings = (
                  '0'
                  '1'
                  '2')
              end
              object GroupBox2: TGroupBox
                Left = 361
                Top = 0
                Width = 150
                Height = 70
                Caption = '  S'#234'lo  '
                Ctl3D = False
                ParentCtl3D = False
                TabOrder = 2
                object Label85: TLabel
                  Left = 9
                  Top = 17
                  Width = 45
                  Height = 16
                  Caption = 'N'#250'mero'
                end
                object Label86: TLabel
                  Left = 87
                  Top = 17
                  Width = 34
                  Height = 16
                  Caption = 'S'#233'rie '
                end
                object DBEdit4: TDBEdit
                  Left = 87
                  Top = 32
                  Width = 51
                  Height = 22
                  Color = clWhite
                  DataField = 'NF_SERIESELO'
                  DataSource = dsCadastro
                  ReadOnly = True
                  TabOrder = 0
                end
                object DBEdit3: TDBEdit
                  Left = 9
                  Top = 32
                  Width = 66
                  Height = 22
                  Color = clWhite
                  DataField = 'NF_NUMEROSELO'
                  DataSource = dsCadastro
                  ReadOnly = True
                  TabOrder = 1
                end
              end
              object GBDadosNota: TGroupBox
                Left = 212
                Top = 0
                Width = 150
                Height = 70
                Caption = '  Nota Fiscal  '
                Ctl3D = False
                ParentCtl3D = False
                TabOrder = 3
                object Label7: TLabel
                  Left = 9
                  Top = 17
                  Width = 45
                  Height = 16
                  Caption = 'N'#250'mero'
                end
                object Label8: TLabel
                  Left = 87
                  Top = 17
                  Width = 34
                  Height = 16
                  Caption = 'S'#233'rie '
                  FocusControl = DBEdit2
                end
                object DBEdit2: TDBEdit
                  Left = 87
                  Top = 32
                  Width = 51
                  Height = 22
                  Color = clWhite
                  DataField = 'NF_SERIENF'
                  DataSource = dsCadastro
                  ReadOnly = True
                  TabOrder = 0
                end
                object DBEdit1: TDBEdit
                  Left = 9
                  Top = 32
                  Width = 66
                  Height = 22
                  Color = clWhite
                  DataField = 'NF_NUMERONF'
                  DataSource = dsCadastro
                  ReadOnly = True
                  TabOrder = 1
                end
              end
              object edCodigo: TDBEdit
                Left = 4
                Top = 32
                Width = 57
                Height = 22
                TabStop = False
                Ctl3D = False
                DataField = 'NF_CODIGO'
                DataSource = dsCadastro
                ParentCtl3D = False
                ReadOnly = True
                TabOrder = 4
              end
            end
            object GroupBox4: TGroupBox
              Left = 2
              Top = 81
              Width = 823
              Height = 200
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 1
              object Label11: TLabel
                Left = 6
                Top = 107
                Width = 102
                Height = 16
                Caption = 'Tipo de Opera'#231#227'o'
              end
              object Label5: TLabel
                Left = 6
                Top = 66
                Width = 67
                Height = 16
                Caption = 'Cliente (F8)'
              end
              object Label13: TLabel
                Left = 468
                Top = 66
                Width = 144
                Height = 16
                Caption = 'Vendedor / Emcarregado'
              end
              object Label15: TLabel
                Left = 739
                Top = 66
                Width = 70
                Height = 16
                Caption = 'Comiss'#227'o%'
                FocusControl = DBEPerComissao
              end
              object LbTipoOperacao: TLabel
                Left = 118
                Top = 105
                Width = 80
                Height = 13
                AutoSize = False
                Font.Charset = DEFAULT_CHARSET
                Font.Color = clRed
                Font.Height = -11
                Font.Name = 'MS Sans Serif'
                Font.Style = []
                ParentFont = False
                Visible = False
              end
              object Label51: TLabel
                Left = 6
                Top = 152
                Width = 36
                Height = 16
                Caption = 'CFOP'
              end
              object Label32: TLabel
                Left = 365
                Top = 20
                Width = 136
                Height = 16
                Caption = 'Local baixa do Estoque'
              end
              object Label114: TLabel
                Left = 581
                Top = 19
                Width = 49
                Height = 16
                Caption = 'Contrato'
              end
              object DBLCBTipoVenda: TDBLookupComboBox
                Left = 6
                Top = 125
                Width = 810
                Height = 22
                Ctl3D = False
                DataField = 'NF_TIPOVENDA'
                DataSource = dsCadastro
                KeyField = 'TIPVEND_CODIGO'
                ListField = 'cod_descricao'
                ListSource = DSTipoVenda
                ParentCtl3D = False
                ParentShowHint = False
                ShowHint = True
                TabOrder = 5
              end
              object DBLCBCliente: TDBLookupComboBox
                Left = 6
                Top = 81
                Width = 457
                Height = 22
                Hint = '(F3) Visualizar Descri'#231#227'o'
                Ctl3D = False
                DataField = 'NF_CLIENTE'
                DataSource = dsCadastro
                KeyField = 'CLI_CODIGO'
                ListField = 'CLI_RAZAO'
                ListSource = DSCliente
                ParentCtl3D = False
                TabOrder = 2
              end
              object DBLCBVendedor: TDBLookupComboBox
                Left = 468
                Top = 81
                Width = 261
                Height = 22
                Hint = '(F3) Visualizar Descri'#231#227'o'
                Ctl3D = False
                DataField = 'NF_VENDEDOR'
                DataSource = dsCadastro
                KeyField = 'VEND_CODIGO'
                ListField = 'VEND_NOME'
                ListSource = DSVendedor
                ParentCtl3D = False
                TabOrder = 3
              end
              object DBEPerComissao: TDBEdit
                Left = 739
                Top = 81
                Width = 66
                Height = 22
                Ctl3D = False
                DataField = 'NF_PERCCOMISSAO'
                DataSource = dsCadastro
                ParentCtl3D = False
                TabOrder = 4
              end
              object GBOrigem: TGroupBox
                Left = 6
                Top = 11
                Width = 353
                Height = 54
                Caption = '  Origem  '
                TabOrder = 0
                object Label12: TLabel
                  Left = 233
                  Top = 9
                  Width = 73
                  Height = 16
                  Caption = 'Doc. Origem'
                end
                object Label104: TLabel
                  Left = 87
                  Top = 9
                  Width = 67
                  Height = 16
                  Caption = 'C'#243'digo (F8)'
                end
                object CheckOrigemPedido: TCheckBox
                  Left = 7
                  Top = 34
                  Width = 70
                  Height = 17
                  Caption = 'Pedido'
                  TabOrder = 0
                end
                object CheckOrigemRomaneio: TCheckBox
                  Left = 7
                  Top = 17
                  Width = 81
                  Height = 17
                  Caption = 'Romaneio'
                  TabOrder = 1
                end
                object DBENumero: TDBEdit
                  Left = 86
                  Top = 26
                  Width = 73
                  Height = 22
                  Ctl3D = False
                  DataField = 'NF_NUMERO'
                  DataSource = dsCadastro
                  Enabled = False
                  ParentCtl3D = False
                  TabOrder = 2
                end
                object BtnCarregarItens: TBitBtn
                  Tag = 1
                  Left = 164
                  Top = 27
                  Width = 63
                  Height = 21
                  Caption = 'Carregar'
                  Enabled = False
                  TabOrder = 3
                end
                object DBEdit12: TDBEdit
                  Left = 231
                  Top = 26
                  Width = 115
                  Height = 22
                  Ctl3D = False
                  DataField = 'NF_ped_numero_talao'
                  DataSource = dsCadastro
                  Enabled = False
                  ParentCtl3D = False
                  TabOrder = 4
                end
              end
              object DBLCFOP: TDBLookupComboBox
                Left = 59
                Top = 169
                Width = 758
                Height = 22
                Ctl3D = False
                DataField = 'NF_CFOPNF'
                DataSource = dsCadastro
                Enabled = False
                KeyField = 'CFOP_CODIGO'
                ListField = 'CFOP_DESCRICAO'
                ListSource = DSCFOP
                ParentCtl3D = False
                ParentShowHint = False
                ShowHint = True
                TabOrder = 7
              end
              object DBLLocalBaixaEstoqueNF: TDBLookupComboBox
                Left = 365
                Top = 35
                Width = 206
                Height = 22
                Ctl3D = False
                DataField = 'NF_LOCAL_ESTOQUE'
                DataSource = dsCadastro
                KeyField = 'LOC_CODIGO'
                ListField = 'LOC_DESCRICAO'
                ListSource = DSLocal
                ParentCtl3D = False
                TabOrder = 1
              end
              object edCFOP: TEdit
                Left = 6
                Top = 169
                Width = 54
                Height = 22
                TabStop = False
                TabOrder = 6
              end
              object DBEdit19: TDBEdit
                Left = 363
                Top = 59
                Width = 79
                Height = 22
                Color = clWhite
                DataField = 'NF_INSCRI_SUBIST'
                DataSource = dsCadastro
                ReadOnly = True
                TabOrder = 8
                Visible = False
              end
              object DBLookupComboBox3: TDBLookupComboBox
                Left = 579
                Top = 35
                Width = 236
                Height = 22
                Ctl3D = False
                DataField = 'NF_COD_CONTRATO'
                DataSource = dsCadastro
                KeyField = 'CON_CODIGO'
                ListField = 'CON_NUMERO'
                ListSource = DSContrato
                ParentCtl3D = False
                TabOrder = 9
              end
            end
            object gbRPSInformacao: TGroupBox
              Left = 616
              Top = -1
              Width = 215
              Height = 70
              Caption = '  RPS  '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 3
              object Label67: TLabel
                Left = 6
                Top = 17
                Width = 45
                Height = 16
                Caption = 'N'#250'mero'
              end
              object Label71: TLabel
                Left = 76
                Top = 17
                Width = 34
                Height = 16
                Caption = 'S'#233'rie '
                FocusControl = DBEdit7
              end
              object Label72: TLabel
                Left = 131
                Top = 17
                Width = 82
                Height = 16
                Caption = 'Data Emiss'#227'o'
              end
              object DBEdit6: TDBEdit
                Left = 6
                Top = 32
                Width = 66
                Height = 22
                Color = clWhite
                DataField = 'NF_NRPS'
                DataSource = dsCadastro
                ReadOnly = True
                TabOrder = 0
              end
              object DBEdit7: TDBEdit
                Left = 76
                Top = 32
                Width = 51
                Height = 22
                Color = clWhite
                DataField = 'NF_SERIE_RPS'
                DataSource = dsCadastro
                ReadOnly = True
                TabOrder = 1
              end
              object DBDateEdit1: TDBDateEdit
                Left = 131
                Top = 32
                Width = 77
                Height = 21
                DataField = 'NF_DTEMISSAO_RPS'
                DataSource = dsCadastro
                ReadOnly = True
                Color = clWhite
                Ctl3D = False
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 2
              end
            end
            object dblSituacaoRps: TDBLookupComboBox
              Left = 1
              Top = 304
              Width = 816
              Height = 22
              Ctl3D = False
              DataField = 'NF_SITUACAO_RPS'
              DataSource = dsCadastro
              KeyField = 'SIT_CODIGO'
              ListField = 'SIT_DESCRICAO'
              ListSource = dsSituacaoRPS
              ParentCtl3D = False
              TabOrder = 2
            end
          end
          object TSItensNotaFiscal: TTabSheet
            Caption = 'Itens da Nota'
            ImageIndex = 1
            object PageControl1: TPageControl
              Left = 0
              Top = -1
              Width = 834
              Height = 304
              ActivePage = TabSheet1
              TabOrder = 0
              TabStop = False
              object TabSheet1: TTabSheet
                Caption = 'Itens'
                object Label35: TLabel
                  Left = 51
                  Top = 174
                  Width = 66
                  Height = 16
                  Caption = 'Quantidade'
                end
                object Label24: TLabel
                  Left = 168
                  Top = 74
                  Width = 72
                  Height = 16
                  Caption = 'Produto (F8)'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label3: TLabel
                  Left = 227
                  Top = 35
                  Width = 136
                  Height = 16
                  Caption = 'Local baixa do Estoque'
                end
                object Label2: TLabel
                  Left = 671
                  Top = 117
                  Width = 80
                  Height = 16
                  Caption = 'Complemento'
                end
                object Label17: TLabel
                  Left = 7
                  Top = 174
                  Width = 29
                  Height = 16
                  Caption = 'CST.'
                end
                object Label18: TLabel
                  Left = 389
                  Top = 174
                  Width = 61
                  Height = 16
                  Caption = 'Vr.Unit'#225'rio'
                end
                object Label19: TLabel
                  Left = 499
                  Top = 174
                  Width = 62
                  Height = 16
                  Caption = 'Valor Total'
                end
                object Label66: TLabel
                  Left = 3
                  Top = 74
                  Width = 40
                  Height = 16
                  Caption = 'C'#243'digo'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label9: TLabel
                  Left = 3
                  Top = 35
                  Width = 25
                  Height = 16
                  Caption = 'Item'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label10: TLabel
                  Left = 75
                  Top = 35
                  Width = 58
                  Height = 16
                  Caption = 'N'#186' Pedido'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label16: TLabel
                  Left = 147
                  Top = 35
                  Width = 56
                  Height = 16
                  Caption = 'Item Ped.'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object QTDLocal: TLabel
                  Left = 109
                  Top = 133
                  Width = 57
                  Height = 16
                  Alignment = taRightJustify
                  Caption = 'QTDLocal'
                end
                object QTDDisponivel: TLabel
                  Left = 121
                  Top = 148
                  Width = 45
                  Height = 16
                  Alignment = taRightJustify
                  Caption = 'Label33'
                end
                object Label33: TLabel
                  Left = 290
                  Top = 174
                  Width = 49
                  Height = 16
                  Caption = 'Base IPI'
                end
                object Label14: TLabel
                  Left = 75
                  Top = 74
                  Width = 88
                  Height = 16
                  Caption = 'Ref.Fornecedor'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label115: TLabel
                  Left = 144
                  Top = 174
                  Width = 85
                  Height = 16
                  Caption = 'Custo Contabil'
                end
                object LbDesconto: TLabel
                  Left = 581
                  Top = 174
                  Width = 89
                  Height = 16
                  Caption = 'Valor Desconto'
                end
                object DBLCBLocal: TDBLookupComboBox
                  Tag = 5
                  Left = 227
                  Top = 51
                  Width = 213
                  Height = 22
                  Ctl3D = False
                  DataField = 'ITENSNF_LOCAL'
                  DataSource = dsItensMercadoria
                  KeyField = 'LOC_CODIGO'
                  ListField = 'LOC_DESCRICAO'
                  ListSource = DSLocal
                  ParentCtl3D = False
                  TabOrder = 2
                  TabStop = False
                end
                object DBLCBProdutoMercadoria: TDBLookupComboBox
                  Tag = 5
                  Left = 168
                  Top = 91
                  Width = 502
                  Height = 22
                  Hint = '(F3) Visualizar Descri'#231#227'o - (F7) Todos - (F8) Cliente'
                  Ctl3D = False
                  DataField = 'ITENSNF_PRODUTO'
                  DataSource = dsItensMercadoria
                  KeyField = 'PROD_CODIGO'
                  ListField = 'PROD_DESCRICAOSAI'
                  ListSource = DSProduto_Mercadoria
                  ParentCtl3D = False
                  ParentShowHint = False
                  ShowHint = True
                  TabOrder = 5
                end
                object DBEItensNFPedido: TDBEdit
                  Tag = 5
                  Left = 75
                  Top = 51
                  Width = 65
                  Height = 22
                  TabStop = False
                  Ctl3D = False
                  DataField = 'ITENSNF_PEDIDOVENDA'
                  DataSource = dsItensMercadoria
                  ParentCtl3D = False
                  TabOrder = 0
                end
                object DBEItemPed: TDBEdit
                  Tag = 5
                  Left = 147
                  Top = 51
                  Width = 65
                  Height = 22
                  TabStop = False
                  Ctl3D = False
                  DataField = 'ITENSNF_ITEMPEDIDOVENDA'
                  DataSource = dsItensMercadoria
                  ParentCtl3D = False
                  TabOrder = 1
                end
                object EdCodProdutoMercadoria: TEdit
                  Tag = 5
                  Left = 3
                  Top = 91
                  Width = 65
                  Height = 22
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 3
                end
                object DBESitTributaria: TDBEdit
                  Tag = 5
                  Left = 7
                  Top = 191
                  Width = 35
                  Height = 22
                  TabStop = False
                  Ctl3D = False
                  DataField = 'ITENSNF_SITUACAOTRIBUTARIA'
                  DataSource = dsItensMercadoria
                  ParentCtl3D = False
                  TabOrder = 7
                end
                object RxDBValorUnitario: TRxDBCalcEdit
                  Tag = 5
                  Left = 346
                  Top = 191
                  Width = 105
                  Height = 21
                  DataField = 'ITENSNF_VALORUNITARIO'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DecimalPlaces = 4
                  DisplayFormat = '0.,0000'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 11
                end
                object RxDBValorTotal: TRxDBCalcEdit
                  Tag = 5
                  Left = 456
                  Top = 191
                  Width = 105
                  Height = 21
                  DataField = 'ITENSNF_VALORTOTAL'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 21
                  OnEnter = RxDBValorTotalEnter
                  OnExit = RxDBValorTotalExit
                end
                object GBICMS: TGroupBox
                  Left = 6
                  Top = 218
                  Width = 172
                  Height = 53
                  Caption = '  ICMS  '
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 13
                  object Label20: TLabel
                    Left = 92
                    Top = 13
                    Width = 59
                    Height = 16
                    Caption = '% C'#225'lculo'
                  end
                  object Label26: TLabel
                    Left = 11
                    Top = 13
                    Width = 67
                    Height = 16
                    Caption = '% Varia'#231#227'o'
                  end
                  object RxDBICMSPerc: TRxDBCalcEdit
                    Tag = 5
                    Left = 92
                    Top = 29
                    Width = 63
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_PERCICMS'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,00'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 1
                  end
                  object RxDBReducaoICMSPerc: TRxDBCalcEdit
                    Tag = 5
                    Left = 13
                    Top = 29
                    Width = 63
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_PERCREDBASEICMS'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,0000'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 0
                  end
                end
                object GBIPI: TGroupBox
                  Left = 365
                  Top = 218
                  Width = 222
                  Height = 53
                  Caption = '  IPI  '
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 15
                  object Label68: TLabel
                    Left = 69
                    Top = 13
                    Width = 59
                    Height = 16
                    Caption = '% C'#225'lculo'
                  end
                  object Label69: TLabel
                    Left = 6
                    Top = 13
                    Width = 43
                    Height = 16
                    Caption = '% Red.'
                  end
                  object Label22: TLabel
                    Left = 183
                    Top = 13
                    Width = 30
                    Height = 16
                    Caption = 'Valor'
                  end
                  object RxDBIPIPerc: TRxDBCalcEdit
                    Tag = 5
                    Left = 69
                    Top = 29
                    Width = 59
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_PERCREDBASEIPI'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,00'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 1
                    OnExit = RxDBIPIPercExit
                  end
                  object RxDBReducaoIPIPerc: TRxDBCalcEdit
                    Tag = 5
                    Left = 6
                    Top = 29
                    Width = 54
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_PERCIPI'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,00'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 0
                  end
                  object RxDBValorIPI: TRxDBCalcEdit
                    Tag = 5
                    Left = 133
                    Top = 29
                    Width = 82
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_VALORIPI'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,00'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 2
                  end
                end
                object GBICMSSubs: TGroupBox
                  Left = 186
                  Top = 218
                  Width = 172
                  Height = 53
                  Caption = '  ICMS  Subst.'
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 14
                  object Label43: TLabel
                    Left = 92
                    Top = 13
                    Width = 59
                    Height = 16
                    Caption = '% C'#225'lculo'
                  end
                  object Label31: TLabel
                    Left = 13
                    Top = 13
                    Width = 54
                    Height = 16
                    Caption = '% Agreg.'
                  end
                  object RxDBPercICMSSubs: TRxDBCalcEdit
                    Tag = 5
                    Left = 92
                    Top = 29
                    Width = 63
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_PERC_ICMS_SUBS'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,00'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 1
                  end
                  object RxDBPercAgregador: TRxDBCalcEdit
                    Tag = 5
                    Left = 15
                    Top = 29
                    Width = 63
                    Height = 21
                    TabStop = False
                    DataField = 'ITENSNF_PERC_AGREGACAO_ICMS_SUB'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    DecimalPlaces = 15
                    DisplayFormat = '0.,00'
                    ButtonWidth = 0
                    NumGlyphs = 2
                    ParentCtl3D = False
                    TabOrder = 0
                  end
                end
                object RxDBCQtd: TRxDBCalcEdit
                  Tag = 5
                  Left = 45
                  Top = 191
                  Width = 73
                  Height = 21
                  DataField = 'ITENSNF_QUANTIDADE'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DecimalPlaces = 15
                  DisplayFormat = '0.,0000#'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 8
                end
                object PanelComplemento: TPanel
                  Left = 168
                  Top = 117
                  Width = 501
                  Height = 51
                  BorderStyle = bsSingle
                  Caption = #39
                  Color = clMoneyGreen
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 6
                  object DBEComplemento: TDBEdit
                    Tag = 5
                    Left = -1
                    Top = 1
                    Width = 501
                    Height = 17
                    TabStop = False
                    BorderStyle = bsNone
                    Ctl3D = False
                    DataField = 'ITENSNF_COMPLEMENTOPRODUTO_2'
                    DataSource = dsItensMercadoria
                    MaxLength = 200
                    ParentCtl3D = False
                    TabOrder = 0
                  end
                  object DBEComplemento2: TDBEdit
                    Tag = 5
                    Left = -1
                    Top = 18
                    Width = 501
                    Height = 17
                    TabStop = False
                    BorderStyle = bsNone
                    Ctl3D = False
                    DataField = 'ITENSNF_COMPLEMENTOPRODUTO_3'
                    DataSource = dsItensMercadoria
                    MaxLength = 200
                    ParentCtl3D = False
                    TabOrder = 1
                  end
                  object DBEComplemento3: TDBEdit
                    Tag = 5
                    Left = -1
                    Top = 35
                    Width = 501
                    Height = 16
                    TabStop = False
                    BorderStyle = bsNone
                    Ctl3D = False
                    DataField = 'ITENSNF_COMPLEMENTOPRODUTO_4'
                    DataSource = dsItensMercadoria
                    MaxLength = 200
                    ParentCtl3D = False
                    TabOrder = 2
                  end
                end
                object btnConsultaEstoque: TBitBtn
                  Tag = 6
                  Left = 614
                  Top = 51
                  Width = 171
                  Height = 22
                  Caption = '&Consulta Saldo Estoque'
                  TabOrder = 16
                  TabStop = False
                  Glyph.Data = {
                    76010000424D7601000000000000760000002800000020000000100000000100
                    04000000000000010000130B0000130B00001000000000000000000000000000
                    800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                    33033333333333333F7F3333333333333000333333333333F777333333333333
                    000333333333333F777333333333333000333333333333F77733333333333300
                    033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                    333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
                    333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
                    33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
                    333337F3333337F333333078F8F870333333373FF333F7333333330777770333
                    333333773FF77333333333370007333333333333777333333333}
                  NumGlyphs = 2
                end
                object RxDBCValorCusto: TRxDBCalcEdit
                  Tag = 5
                  Left = 124
                  Top = 191
                  Width = 105
                  Height = 21
                  DataField = 'ITENSNF_VALORCUSTO'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DecimalPlaces = 4
                  DisplayFormat = '0.,0000'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 9
                end
                object DBEdit5: TDBEdit
                  Tag = 5
                  Left = 3
                  Top = 51
                  Width = 63
                  Height = 22
                  TabStop = False
                  Ctl3D = False
                  DataField = 'ITENSNF_SEQUENCIA_ITEM'
                  DataSource = dsItensMercadoria
                  ParentCtl3D = False
                  ReadOnly = True
                  TabOrder = 18
                end
                object EdRefProdutoMercadoria: TEdit
                  Tag = 5
                  Left = 75
                  Top = 91
                  Width = 88
                  Height = 22
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 4
                end
                object BitBtn1: TBitBtn
                  Left = 451
                  Top = 51
                  Width = 152
                  Height = 22
                  Caption = 'Consulta todos Itens'
                  TabOrder = 19
                  TabStop = False
                  Glyph.Data = {
                    76010000424D7601000000000000760000002800000020000000100000000100
                    0400000000000001000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                    33033333333333333F7F3333333333333000333333333333F777333333333333
                    000333333333333F777333333333333000333333333333F77733333333333300
                    033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                    333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
                    333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
                    33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
                    333337F3333337F333333078F8F870333333373FF333F7333333330777770333
                    333333773FF77333333333370007333333333333777333333333}
                  NumGlyphs = 2
                end
                object RxDBCalcEdit1: TRxDBCalcEdit
                  Tag = 5
                  Left = 2
                  Top = 125
                  Width = 63
                  Height = 21
                  TabStop = False
                  DataField = 'ITENSNF_BASEREDUICMS'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DecimalPlaces = 15
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 20
                  Visible = False
                end
                object Panel5: TPanel
                  Left = 0
                  Top = 0
                  Width = 826
                  Height = 33
                  Align = alTop
                  TabOrder = 17
                  object stItens: TStaticText
                    Left = 603
                    Top = 9
                    Width = 117
                    Height = 20
                    Alignment = taRightJustify
                    Caption = ' Reg: 10000/10000 '
                    TabOrder = 0
                  end
                  object BitInseriItem: TBitBtn
                    Tag = 6
                    Left = 3
                    Top = 5
                    Width = 68
                    Height = 23
                    Caption = '&Incluir'
                    TabOrder = 1
                    OnClick = BitInseriItemClick
                    Glyph.Data = {
                      76010000424D7601000000000000760000002800000020000000100000000100
                      04000000000000010000130B0000130B00001000000000000000000000000000
                      800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                      FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
                      333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
                      0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
                      07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
                      07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
                      0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
                      33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
                      B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
                      3BB33773333773333773B333333B3333333B7333333733333337}
                    NumGlyphs = 2
                  end
                  object BitEditarItem: TBitBtn
                    Tag = 6
                    Left = 82
                    Top = 5
                    Width = 68
                    Height = 23
                    Caption = '&Editar'
                    TabOrder = 2
                    TabStop = False
                    OnClick = BitEditarItemClick
                    Glyph.Data = {
                      76010000424D7601000000000000760000002800000020000000100000000100
                      04000000000000010000120B0000120B00001000000000000000000000000000
                      800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                      FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
                      000033333377777777773333330FFFFFFFF03FF3FF7FF33F3FF700300000FF0F
                      00F077F777773F737737E00BFBFB0FFFFFF07773333F7F3333F7E0BFBF000FFF
                      F0F077F3337773F3F737E0FBFBFBF0F00FF077F3333FF7F77F37E0BFBF00000B
                      0FF077F3337777737337E0FBFBFBFBF0FFF077F33FFFFFF73337E0BF0000000F
                      FFF077FF777777733FF7000BFB00B0FF00F07773FF77373377373330000B0FFF
                      FFF03337777373333FF7333330B0FFFF00003333373733FF777733330B0FF00F
                      0FF03333737F37737F373330B00FFFFF0F033337F77F33337F733309030FFFFF
                      00333377737FFFFF773333303300000003333337337777777333}
                    NumGlyphs = 2
                  end
                  object BitExcluirItem: TBitBtn
                    Tag = 6
                    Left = 161
                    Top = 5
                    Width = 68
                    Height = 23
                    Caption = '&Excluir'
                    TabOrder = 3
                    TabStop = False
                    OnClick = BitExcluirItemClick
                    Glyph.Data = {
                      B2050000424DB205000000000000360400002800000012000000130000000100
                      0800000000007C010000C30E0000C30E00000001000000000000000000007B00
                      0000BD000000FF0000007B7B000000FF0000FFFF000000315A0008427300084A
                      730000007B007B007B00084A7B0008527B0021527B00007B7B007B7B7B00004A
                      840008528400105284002963840008528C00085A8C00185A8C0018638C002963
                      8C0008529400185A9400296B9400316B94002973940031739400085A9C001863
                      9C0018739C0029739C0031739C0031849C00005AA5002173A5003973A500297B
                      A500186BAD00106BB500317BB5002984B5004A8CB500086BBD000073BD001073
                      BD001873BD00217BBD004284BD00318CBD004A8CBD005294BD005A9CBD00BDBD
                      BD001073C600007BC600217BC600428CC6004A8CC6005A9CC6000084CE000884
                      CE00398CCE005A9CCE00639CCE001884D6002184D600088CD600108CD6004294
                      D600399CD6004A9CD600529CD6005A9CD6005AA5D60063ADD6001884DE002184
                      DE00188CDE001094DE001894DE003194DE00299CDE004AA5DE005AA5DE004AB5
                      DE00189CE700219CE700429CE7005AA5E7005AADE70063ADE7006BB5E70021A5
                      EF0029A5EF0031A5EF0063B5EF006BBDEF0029ADF70031ADF7006BBDF7000000
                      FF00FF00FF0031B5FF0039B5FF0042B5FF0039BDFF0042BDFF0042C6FF004AC6
                      FF006BC6FF004ACEFF0052CEFF0052D6FF005ADEFF0063E7FF0000FFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                      FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00393939393939
                      3939393939393939393939690000396939393939393939393939393939396939
                      0000396969393910101010101010101010693939000039696969000000000000
                      0000000069693939000039396969007879797978797979696939393900003939
                      3969697903030303030379691039393900003939396969697978797979786969
                      1039393900003939393969696903030369696900103939390000393939390069
                      6969797869697900103939390000393939390079036969696903790010393939
                      0000393939390079796969696978790010393939000039393939007903696969
                      6900000010393939000039393939007869697900696979001039393900003939
                      3939006969697900696969693939393900003939396969697978790079003969
                      6939393900003969696969000000000000393939696939390000396969693939
                      3939393939393939393969390000393939393939393939393939393939393969
                      00003939393939393939393939393939393939390000}
                  end
                  object DBNitens: TDBNavigator
                    Tag = 11
                    Left = 736
                    Top = 4
                    Width = 80
                    Height = 23
                    DataSource = dsItensMercadoria
                    VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
                    TabOrder = 4
                  end
                end
                object RxDBCalcEdit3: TRxDBCalcEdit
                  Tag = 5
                  Left = 235
                  Top = 191
                  Width = 105
                  Height = 21
                  DataField = 'ITENSNF_VALORUNIT_BASE_IPI'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DecimalPlaces = 4
                  DisplayFormat = '0.,0000'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 10
                end
                object RxDBCalcEdit2: TRxDBCalcEdit
                  Tag = 5
                  Left = 566
                  Top = 191
                  Width = 105
                  Height = 21
                  DataField = 'ITENSNF_VALORDESCONTO'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  DecimalPlaces = 4
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 12
                end
              end
              object TabSheet2: TTabSheet
                Caption = 'D.I.'
                ImageIndex = 1
                object Label95: TLabel
                  Left = 147
                  Top = 37
                  Width = 27
                  Height = 16
                  Hint = 'Este C'#243'digo Est'#225' no Documento D.I.'
                  Caption = 'Data'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label96: TLabel
                  Left = 3
                  Top = 37
                  Width = 45
                  Height = 16
                  Caption = 'N'#250'mero'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object DBEdit8: TDBEdit
                  Tag = 5
                  Left = 3
                  Top = 53
                  Width = 129
                  Height = 22
                  HelpType = htKeyword
                  Ctl3D = False
                  DataField = 'ITENSNFe_DI_NDI'
                  DataSource = dsItensMercadoria
                  ParentCtl3D = False
                  ReadOnly = True
                  TabOrder = 0
                end
                object DBDateEdit2: TDBDateEdit
                  Tag = 5
                  Left = 147
                  Top = 53
                  Width = 117
                  Height = 22
                  DataField = 'ITENSNFE_DI_DDT'
                  DataSource = dsItensMercadoria
                  Ctl3D = False
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -12
                  Font.Name = 'Arial'
                  Font.Style = []
                  ButtonWidth = 26
                  NumGlyphs = 2
                  ParentCtl3D = False
                  ParentFont = False
                  TabOrder = 1
                end
                object GroupBox9: TGroupBox
                  Tag = 5
                  Left = 0
                  Top = 80
                  Width = 531
                  Height = 73
                  Caption = ' Desembara'#231'o '
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 2
                  object Label97: TLabel
                    Left = 131
                    Top = 18
                    Width = 31
                    Height = 16
                    Caption = 'Local'
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -13
                    Font.Name = 'Arial'
                    Font.Style = []
                    ParentFont = False
                  end
                  object Label98: TLabel
                    Left = 344
                    Top = 18
                    Width = 17
                    Height = 16
                    Caption = 'UF'
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -13
                    Font.Name = 'Arial'
                    Font.Style = []
                    ParentFont = False
                  end
                  object Label99: TLabel
                    Left = 8
                    Top = 18
                    Width = 113
                    Height = 16
                    Caption = 'Cod, Municipio (F8)'
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -13
                    Font.Name = 'Arial'
                    Font.Style = []
                    ParentFont = False
                  end
                  object Label100: TLabel
                    Left = 405
                    Top = 20
                    Width = 27
                    Height = 16
                    Caption = 'Data'
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -13
                    Font.Name = 'Arial'
                    Font.Style = []
                    ParentFont = False
                  end
                  object DBEdit9: TDBEdit
                    Tag = 5
                    Left = 131
                    Top = 38
                    Width = 198
                    Height = 22
                    Ctl3D = False
                    DataField = 'ITENSNFE_DI_XLOCDESEMB'
                    DataSource = dsItensMercadoria
                    ParentCtl3D = False
                    TabOrder = 0
                  end
                  object DBEdit10: TDBEdit
                    Tag = 5
                    Left = 335
                    Top = 38
                    Width = 63
                    Height = 22
                    Ctl3D = False
                    DataField = 'ITENSNFE_DI_UFDESEMB'
                    DataSource = dsItensMercadoria
                    ParentCtl3D = False
                    TabOrder = 1
                  end
                  object DBEdit11: TDBEdit
                    Tag = 5
                    Left = 8
                    Top = 38
                    Width = 118
                    Height = 22
                    Ctl3D = False
                    DataField = 'ITENSNFE_DI_CODMUNDESEMB'
                    DataSource = dsItensMercadoria
                    ParentCtl3D = False
                    ReadOnly = True
                    TabOrder = 2
                  end
                  object DBDateEdit3: TDBDateEdit
                    Tag = 5
                    Left = 405
                    Top = 38
                    Width = 117
                    Height = 22
                    DataField = 'ITENSNFE_DI_DDESEMB'
                    DataSource = dsItensMercadoria
                    Ctl3D = False
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -12
                    Font.Name = 'Arial'
                    Font.Style = []
                    ButtonWidth = 26
                    NumGlyphs = 2
                    ParentCtl3D = False
                    ParentFont = False
                    TabOrder = 3
                  end
                end
                object GroupBox10: TGroupBox
                  Tag = 5
                  Left = 0
                  Top = 160
                  Width = 481
                  Height = 73
                  Caption = ' NF M'#227'e '
                  Ctl3D = False
                  ParentCtl3D = False
                  TabOrder = 3
                  object Label111: TLabel
                    Left = 8
                    Top = 18
                    Width = 66
                    Height = 16
                    Caption = 'N'#250'mero NF'
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -13
                    Font.Name = 'Arial'
                    Font.Style = []
                    ParentFont = False
                  end
                  object Label112: TLabel
                    Left = 128
                    Top = 18
                    Width = 58
                    Height = 16
                    Caption = 'C'#243'd. Exp.'
                    Font.Charset = ANSI_CHARSET
                    Font.Color = clWindowText
                    Font.Height = -13
                    Font.Name = 'Arial'
                    Font.Style = []
                    ParentFont = False
                  end
                  object Label113: TLabel
                    Left = 205
                    Top = 40
                    Width = 225
                    Height = 16
                    AutoSize = False
                  end
                  object Label83: TLabel
                    Left = 199
                    Top = 40
                    Width = 275
                    Height = 16
                    AutoSize = False
                  end
                  object DBEdit17: TDBEdit
                    Tag = 5
                    Left = 8
                    Top = 38
                    Width = 105
                    Height = 22
                    Ctl3D = False
                    DataField = 'ITENSNFE_DI_NF_MAE'
                    DataSource = dsItensMercadoria
                    ParentCtl3D = False
                    ReadOnly = True
                    TabOrder = 0
                  end
                  object DBEdit18: TDBEdit
                    Tag = 5
                    Left = 128
                    Top = 38
                    Width = 65
                    Height = 22
                    Ctl3D = False
                    DataField = 'ITENSNFE_DI_COD_EXPORTADOR'
                    DataSource = dsItensMercadoria
                    ParentCtl3D = False
                    ReadOnly = True
                    TabOrder = 1
                  end
                end
                object BitBtn4: TBitBtn
                  Tag = 5
                  Left = 4
                  Top = 7
                  Width = 149
                  Height = 26
                  Caption = 'Consulta DI/NF M'#227'e'
                  TabOrder = 4
                  TabStop = False
                  Glyph.Data = {
                    76010000424D7601000000000000760000002800000020000000100000000100
                    0400000000000001000000000000000000001000000000000000000000000000
                    8000008000000080800080000000800080008080000080808000C0C0C0000000
                    FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                    33033333333333333F7F3333333333333000333333333333F777333333333333
                    000333333333333F777333333333333000333333333333F77733333333333300
                    033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
                    333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
                    333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
                    33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
                    333337F3333337F333333078F8F870333333373FF333F7333333330777770333
                    333333773FF77333333333370007333333333333777333333333}
                  NumGlyphs = 2
                end
              end
            end
            object Panel6: TPanel
              Left = 0
              Top = 302
              Width = 834
              Height = 33
              Align = alBottom
              TabOrder = 1
              TabStop = True
              object BitSalvarItem: TBitBtn
                Tag = 6
                Left = 664
                Top = 5
                Width = 77
                Height = 23
                Caption = '&Salvar'
                TabOrder = 0
                OnClick = BitSalvarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333330070
                  7700333333337777777733333333008088003333333377F73377333333330088
                  88003333333377FFFF7733333333000000003FFFFFFF77777777000000000000
                  000077777777777777770FFFFFFF0FFFFFF07F3333337F3333370FFFFFFF0FFF
                  FFF07F3FF3FF7FFFFFF70F00F0080CCC9CC07F773773777777770FFFFFFFF039
                  99337F3FFFF3F7F777F30F0000F0F09999937F7777373777777F0FFFFFFFF999
                  99997F3FF3FFF77777770F00F000003999337F773777773777F30FFFF0FF0339
                  99337F3FF7F3733777F30F08F0F0337999337F7737F73F7777330FFFF0039999
                  93337FFFF7737777733300000033333333337777773333333333}
                NumGlyphs = 2
              end
              object BitCancelarItem: TBitBtn
                Tag = 5
                Left = 744
                Top = 5
                Width = 77
                Height = 23
                Caption = '&Cancelar'
                TabOrder = 1
                OnClick = BitCancelarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  0400000000000001000000000000000000001000000000000000000000000000
                  8000008000000080800080000000800080008080000080808000C0C0C0000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                  3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
                  33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
                  993337777F777F3377F3393999707333993337F77737333337FF993399933333
                  399377F3777FF333377F993339903333399377F33737FF33377F993333707333
                  399377F333377FF3377F993333101933399377F333777FFF377F993333000993
                  399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
                  99333773FF777F777733339993707339933333773FF7FFF77333333999999999
                  3333333777333777333333333999993333333333377777333333}
                NumGlyphs = 2
              end
            end
          end
          object TSServico: TTabSheet
            Caption = 'Servi'#231'o'
            ImageIndex = 5
            object Label21: TLabel
              Left = 147
              Top = 34
              Width = 42
              Height = 16
              Caption = 'Servi'#231'o'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label27: TLabel
              Left = 313
              Top = 169
              Width = 66
              Height = 16
              Caption = 'Quantidade'
            end
            object Label73: TLabel
              Left = 403
              Top = 169
              Width = 78
              Height = 16
              Caption = 'Valor Unit'#225'rio'
            end
            object Label75: TLabel
              Left = 525
              Top = 169
              Width = 62
              Height = 16
              Caption = 'Valor Total'
            end
            object Label87: TLabel
              Left = 3
              Top = 169
              Width = 55
              Height = 16
              Caption = 'Munic'#237'pio'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label89: TLabel
              Left = 3
              Top = 34
              Width = 40
              Height = 16
              Caption = 'C'#243'digo'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label90: TLabel
              Left = 75
              Top = 34
              Width = 61
              Height = 16
              Caption = 'Refer'#234'ncia'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label78: TLabel
              Left = 3
              Top = 74
              Width = 144
              Height = 16
              Caption = 'Detalhamento do Servi'#231'o'
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label81: TLabel
              Left = 594
              Top = 171
              Width = 80
              Height = 16
              Caption = '% Base INSS'
            end
            object Label82: TLabel
              Left = 681
              Top = 171
              Width = 71
              Height = 16
              Caption = '% Base ISS'
            end
            object DBEQuantidadeServico: TDBEdit
              Tag = 5
              Left = 313
              Top = 187
              Width = 63
              Height = 22
              Ctl3D = False
              DataField = 'ITENSNF_QUANTIDADE'
              DataSource = dsItensServico
              ParentCtl3D = False
              TabOrder = 5
            end
            object RxDBCValorUnitarioServico: TRxDBCalcEdit
              Tag = 5
              Left = 383
              Top = 187
              Width = 99
              Height = 21
              DataField = 'ITENSNF_VALORUNITARIO'
              DataSource = dsItensServico
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 6
            end
            object ValorTotalServico: TRxDBCalcEdit
              Tag = 5
              Left = 488
              Top = 187
              Width = 99
              Height = 21
              DataField = 'ITENSNF_VALORTOTAL'
              DataSource = dsItensServico
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 7
            end
            object DBLMunicipio: TDBLookupComboBox
              Tag = 5
              Left = 3
              Top = 187
              Width = 304
              Height = 22
              Ctl3D = False
              DataField = 'ITENSNF_MUNICIPIO_SERVICO'
              DataSource = dsItensServico
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              KeyField = 'MU_CODIGO'
              ListField = 'NOME'
              ListSource = DSMunicipio
              ParentCtl3D = False
              ParentFont = False
              TabOrder = 4
            end
            object EdCodProdutoServico: TEdit
              Tag = 5
              Left = 3
              Top = 50
              Width = 65
              Height = 22
              Ctl3D = False
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentCtl3D = False
              ParentFont = False
              TabOrder = 0
            end
            object EdRefProdutoServico: TEdit
              Tag = 5
              Left = 75
              Top = 50
              Width = 65
              Height = 22
              Ctl3D = False
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentCtl3D = False
              ParentFont = False
              TabOrder = 1
            end
            object DBLCBProdutoServico: TDBLookupComboBox
              Tag = 5
              Left = 147
              Top = 50
              Width = 670
              Height = 22
              Hint = '(F3) Visualizar Descri'#231#227'o - (F7) Todos - (F8) Cliente'
              Ctl3D = False
              DataField = 'ITENSNF_PRODUTO'
              DataSource = dsItensServico
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              KeyField = 'PROD_CODIGO'
              ListField = 'PROD_DESCRICAOSAI'
              ListSource = DSProduto_Servico
              ParentCtl3D = False
              ParentFont = False
              ParentShowHint = False
              ShowHint = True
              TabOrder = 2
            end
            object Panel7: TPanel
              Left = 0
              Top = 0
              Width = 834
              Height = 33
              Align = alTop
              TabOrder = 10
              object StaticText1: TStaticText
                Left = 603
                Top = 9
                Width = 117
                Height = 20
                Alignment = taRightJustify
                Caption = ' Reg: 10000/10000 '
                TabOrder = 0
              end
              object BitIncluirServico: TBitBtn
                Tag = 5
                Left = 3
                Top = 5
                Width = 68
                Height = 23
                Caption = '&Incluir'
                TabOrder = 1
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
                  333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
                  0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
                  07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
                  07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
                  0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
                  33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
                  B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
                  3BB33773333773333773B333333B3333333B7333333733333337}
                NumGlyphs = 2
              end
              object BitEditarServico: TBitBtn
                Tag = 5
                Left = 82
                Top = 5
                Width = 68
                Height = 23
                Caption = '&Editar'
                TabOrder = 2
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000120B0000120B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
                  000033333377777777773333330FFFFFFFF03FF3FF7FF33F3FF700300000FF0F
                  00F077F777773F737737E00BFBFB0FFFFFF07773333F7F3333F7E0BFBF000FFF
                  F0F077F3337773F3F737E0FBFBFBF0F00FF077F3333FF7F77F37E0BFBF00000B
                  0FF077F3337777737337E0FBFBFBFBF0FFF077F33FFFFFF73337E0BF0000000F
                  FFF077FF777777733FF7000BFB00B0FF00F07773FF77373377373330000B0FFF
                  FFF03337777373333FF7333330B0FFFF00003333373733FF777733330B0FF00F
                  0FF03333737F37737F373330B00FFFFF0F033337F77F33337F733309030FFFFF
                  00333377737FFFFF773333303300000003333337337777777333}
                NumGlyphs = 2
              end
              object BitExcluirServico: TBitBtn
                Tag = 5
                Left = 161
                Top = 5
                Width = 68
                Height = 23
                Caption = '&Excluir'
                TabOrder = 3
                Glyph.Data = {
                  B2050000424DB205000000000000360400002800000012000000130000000100
                  0800000000007C010000C30E0000C30E00000001000000000000000000007B00
                  0000BD000000FF0000007B7B000000FF0000FFFF000000315A0008427300084A
                  730000007B007B007B00084A7B0008527B0021527B00007B7B007B7B7B00004A
                  840008528400105284002963840008528C00085A8C00185A8C0018638C002963
                  8C0008529400185A9400296B9400316B94002973940031739400085A9C001863
                  9C0018739C0029739C0031739C0031849C00005AA5002173A5003973A500297B
                  A500186BAD00106BB500317BB5002984B5004A8CB500086BBD000073BD001073
                  BD001873BD00217BBD004284BD00318CBD004A8CBD005294BD005A9CBD00BDBD
                  BD001073C600007BC600217BC600428CC6004A8CC6005A9CC6000084CE000884
                  CE00398CCE005A9CCE00639CCE001884D6002184D600088CD600108CD6004294
                  D600399CD6004A9CD600529CD6005A9CD6005AA5D60063ADD6001884DE002184
                  DE00188CDE001094DE001894DE003194DE00299CDE004AA5DE005AA5DE004AB5
                  DE00189CE700219CE700429CE7005AA5E7005AADE70063ADE7006BB5E70021A5
                  EF0029A5EF0031A5EF0063B5EF006BBDEF0029ADF70031ADF7006BBDF7000000
                  FF00FF00FF0031B5FF0039B5FF0042B5FF0039BDFF0042BDFF0042C6FF004AC6
                  FF006BC6FF004ACEFF0052CEFF0052D6FF005ADEFF0063E7FF0000FFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00393939393939
                  3939393939393939393939690000396939393939393939393939393939396939
                  0000396969393910101010101010101010693939000039696969000000000000
                  0000000069693939000039396969007879797978797979696939393900003939
                  3969697903030303030379691039393900003939396969697978797979786969
                  1039393900003939393969696903030369696900103939390000393939390069
                  6969797869697900103939390000393939390079036969696903790010393939
                  0000393939390079796969696978790010393939000039393939007903696969
                  6900000010393939000039393939007869697900696979001039393900003939
                  3939006969697900696969693939393900003939396969697978790079003969
                  6939393900003969696969000000000000393939696939390000396969693939
                  3939393939393939393969390000393939393939393939393939393939393969
                  00003939393939393939393939393939393939390000}
              end
              object DBNServico: TDBNavigator
                Tag = 11
                Left = 747
                Top = 5
                Width = 80
                Height = 23
                DataSource = dsItensServico
                VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
                TabOrder = 4
              end
            end
            object Panel8: TPanel
              Left = 0
              Top = 302
              Width = 834
              Height = 33
              Align = alBottom
              TabOrder = 11
              object BitSalvarServico: TBitBtn
                Tag = 5
                Left = 672
                Top = 6
                Width = 77
                Height = 23
                Caption = '&Salvar'
                TabOrder = 0
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333330070
                  7700333333337777777733333333008088003333333377F73377333333330088
                  88003333333377FFFF7733333333000000003FFFFFFF77777777000000000000
                  000077777777777777770FFFFFFF0FFFFFF07F3333337F3333370FFFFFFF0FFF
                  FFF07F3FF3FF7FFFFFF70F00F0080CCC9CC07F773773777777770FFFFFFFF039
                  99337F3FFFF3F7F777F30F0000F0F09999937F7777373777777F0FFFFFFFF999
                  99997F3FF3FFF77777770F00F000003999337F773777773777F30FFFF0FF0339
                  99337F3FF7F3733777F30F08F0F0337999337F7737F73F7777330FFFF0039999
                  93337FFFF7737777733300000033333333337777773333333333}
                NumGlyphs = 2
              end
              object BitCancelarServico: TBitBtn
                Tag = 5
                Left = 750
                Top = 6
                Width = 77
                Height = 23
                Caption = '&Cancelar'
                TabOrder = 1
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                  3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
                  33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
                  993337777F777F3377F3393999707333993337F77737333337FF993399933333
                  399377F3777FF333377F993339903333399377F33737FF33377F993333707333
                  399377F333377FF3377F993333101933399377F333777FFF377F993333000993
                  399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
                  99333773FF777F777733339993707339933333773FF7FFF77333333999999999
                  3333333777333777333333333999993333333333377777333333}
                NumGlyphs = 2
              end
            end
            object edDescServicos: TDBMemo
              Tag = 5
              Left = 3
              Top = 91
              Width = 814
              Height = 74
              Ctl3D = False
              DataField = 'ITENSNF_SERVICO'
              DataSource = dsItensServico
              MaxLength = 1000
              ParentCtl3D = False
              ScrollBars = ssVertical
              TabOrder = 3
            end
            object edPercBaseINSS: TRxDBCalcEdit
              Tag = 5
              Left = 594
              Top = 187
              Width = 80
              Height = 21
              DataField = 'ITENSNF_PERCBASESERVICOINSS'
              DataSource = dsItensServico
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '#.00'
              ButtonWidth = 0
              MaxLength = 5
              MaxValue = 100.000000000000000000
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 8
            end
            object edPercBaseISS: TRxDBCalcEdit
              Tag = 5
              Left = 681
              Top = 187
              Width = 71
              Height = 21
              DataField = 'ITENSNF_PERCBASESERVICOISS'
              DataSource = dsItensServico
              Ctl3D = False
              DecimalPlaces = 15
              DisplayFormat = '0.00'
              ButtonWidth = 0
              MaxLength = 3
              MaxValue = 100.000000000000000000
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 9
            end
          end
          object TSValores: TTabSheet
            Caption = 'Valores'
            ImageIndex = 6
            object Label50: TLabel
              Left = 728
              Top = 277
              Width = 93
              Height = 16
              Caption = 'Valor Final Nota'
            end
            object GBMercadoria: TGroupBox
              Left = 0
              Top = 0
              Width = 834
              Height = 131
              Align = alTop
              Caption = '  Mercadoria  '
              Ctl3D = False
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clWindowText
              Font.Height = -11
              Font.Name = 'MS Sans Serif'
              Font.Style = [fsBold]
              ParentCtl3D = False
              ParentFont = False
              TabOrder = 0
              object Label46: TLabel
                Left = 11
                Top = 81
                Width = 64
                Height = 16
                Caption = 'Valor Frete'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label47: TLabel
                Left = 104
                Top = 81
                Width = 75
                Height = 16
                Caption = 'Valor Seguro'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label48: TLabel
                Left = 203
                Top = 82
                Width = 77
                Height = 16
                Caption = 'Outras Desp.'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label49: TLabel
                Left = 296
                Top = 82
                Width = 49
                Height = 16
                Caption = 'Valor IPI'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label30: TLabel
                Left = 564
                Top = 82
                Width = 62
                Height = 16
                Caption = 'Valor Final'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                Visible = False
              end
              object GBValoresProdutos: TGroupBox
                Left = 8
                Top = 16
                Width = 404
                Height = 63
                Caption = '  Produto  '
                Ctl3D = False
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 0
                object Label38: TLabel
                  Left = 4
                  Top = 18
                  Width = 30
                  Height = 16
                  Caption = 'Valor'
                end
                object Label39: TLabel
                  Left = 194
                  Top = 18
                  Width = 68
                  Height = 16
                  Caption = 'Valor Desc.'
                end
                object Label40: TLabel
                  Left = 289
                  Top = 18
                  Width = 62
                  Height = 16
                  Caption = 'Valor Final'
                end
                object Label42: TLabel
                  Left = 99
                  Top = 18
                  Width = 50
                  Height = 16
                  Caption = '% Desc.'
                end
                object RxDBCValorProduto: TRxDBCalcEdit
                  Left = 4
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_VALORPRODUTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 0
                end
                object RxDBCPercentualDescontoProduto: TRxDBCalcEdit
                  Left = 100
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_PERCENTUAL_DESCONTO_PRODUTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,0'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 1
                end
                object RxDBCValorDesconto: TRxDBCalcEdit
                  Left = 194
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_VALORDESCONTOPRODUTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 2
                end
                object RxDBCValorFinalProduto: TRxDBCalcEdit
                  Left = 289
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_VALORFINALPRODUTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 3
                end
              end
              object GBICMSMercadoria: TGroupBox
                Left = 418
                Top = 16
                Width = 407
                Height = 63
                Caption = '  ICMS  '
                Ctl3D = False
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 1
                object Label77: TLabel
                  Left = 7
                  Top = 18
                  Width = 30
                  Height = 16
                  Caption = 'Base'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label91: TLabel
                  Left = 103
                  Top = 18
                  Width = 30
                  Height = 16
                  Caption = 'Valor'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label92: TLabel
                  Left = 199
                  Top = 18
                  Width = 68
                  Height = 16
                  Caption = 'Base Subs.'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object Label93: TLabel
                  Left = 295
                  Top = 18
                  Width = 68
                  Height = 16
                  Caption = 'Valor Subs.'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ParentFont = False
                end
                object RxDBCBaseCalcICMS: TRxDBCalcEdit
                  Left = 7
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_BASEICMSNORM'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  ParentFont = False
                  TabOrder = 0
                end
                object RxDBCValorICMS: TRxDBCalcEdit
                  Left = 103
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_VALORICMSNORM'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  ParentFont = False
                  TabOrder = 1
                end
                object RxDBCBaseCalcSubs: TRxDBCalcEdit
                  Left = 199
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_BASEICMSSUB'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  ParentFont = False
                  TabOrder = 2
                end
                object RxDBCValorSubs: TRxDBCalcEdit
                  Left = 295
                  Top = 33
                  Width = 91
                  Height = 21
                  DataField = 'NF_VALORICMSSUB'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  Font.Charset = ANSI_CHARSET
                  Font.Color = clWindowText
                  Font.Height = -13
                  Font.Name = 'Arial'
                  Font.Style = []
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  ParentFont = False
                  TabOrder = 3
                end
              end
              object RxDBCValorFrete: TRxDBCalcEdit
                Left = 11
                Top = 100
                Width = 89
                Height = 21
                DataField = 'NF_VALORFRETE'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 2
              end
              object RxDBCValorSeguro: TRxDBCalcEdit
                Left = 106
                Top = 100
                Width = 94
                Height = 21
                DataField = 'NF_VALORSEGURO'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 3
              end
              object RxDBCOutrasDespesas: TRxDBCalcEdit
                Left = 205
                Top = 100
                Width = 85
                Height = 21
                DataField = 'NF_VALOROUTROS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 4
              end
              object RxDBCValorIPI: TRxDBCalcEdit
                Left = 296
                Top = 100
                Width = 89
                Height = 21
                DataField = 'NF_VALORIPI'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 5
              end
              object RxDBValorFinalMercadoria: TRxDBCalcEdit
                Left = 424
                Top = 100
                Width = 98
                Height = 21
                DataField = 'NF_VALORFINALPRODUTO'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Enabled = False
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 6
                Visible = False
              end
              object RxCalcValorFinalMercadoria: TRxCalcEdit
                Left = 528
                Top = 100
                Width = 100
                Height = 21
                AutoSize = False
                DisplayFormat = '0.,00'
                Enabled = False
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentFont = False
                TabOrder = 7
                Visible = False
              end
            end
            object RxDBCValorFinalNota: TRxDBCalcEdit
              Left = 712
              Top = 297
              Width = 110
              Height = 21
              DataField = 'NF_VALORFINALNOTA'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 1
            end
            object GBServico: TGroupBox
              Left = 0
              Top = 136
              Width = 665
              Height = 186
              Caption = '  Servi'#231'o  '
              Ctl3D = False
              Font.Charset = ANSI_CHARSET
              Font.Color = clWindowText
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentCtl3D = False
              ParentFont = False
              TabOrder = 2
              object Label28: TLabel
                Left = 8
                Top = 98
                Width = 105
                Height = 16
                Caption = 'Forma pagamento'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label29: TLabel
                Left = 597
                Top = 15
                Width = 58
                Height = 13
                Alignment = taRightJustify
                AutoSize = False
                Caption = 'Valor'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label37: TLabel
                Left = 497
                Top = 15
                Width = 41
                Height = 13
                Alignment = taCenter
                AutoSize = False
                Caption = '%'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label41: TLabel
                Left = 425
                Top = 15
                Width = 55
                Height = 16
                Caption = 'Reten'#231#227'o'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label74: TLabel
                Left = 382
                Top = 51
                Width = 21
                Height = 16
                Caption = 'PIS'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label76: TLabel
                Left = 382
                Top = 73
                Width = 48
                Height = 16
                Caption = 'COFINS'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label79: TLabel
                Left = 382
                Top = 29
                Width = 29
                Height = 16
                Caption = 'IRRF'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label44: TLabel
                Left = 382
                Top = 95
                Width = 32
                Height = 16
                Caption = 'CSLL'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label70: TLabel
                Left = 382
                Top = 117
                Width = 30
                Height = 16
                Caption = 'INSS'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label45: TLabel
                Left = 382
                Top = 139
                Width = 21
                Height = 16
                Caption = 'ISS'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label23: TLabel
                Left = 14
                Top = 155
                Width = 79
                Height = 16
                Caption = 'Servi'#231'o REIDI'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object GBServicoServico: TGroupBox
                Left = 8
                Top = 24
                Width = 337
                Height = 63
                Caption = '  Servi'#231'o  '
                Ctl3D = False
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 0
                object Label52: TLabel
                  Left = 4
                  Top = 18
                  Width = 30
                  Height = 16
                  Caption = 'Valor'
                end
                object Label53: TLabel
                  Left = 163
                  Top = 18
                  Width = 68
                  Height = 16
                  Caption = 'Valor Desc.'
                end
                object Label54: TLabel
                  Left = 243
                  Top = 18
                  Width = 62
                  Height = 16
                  Caption = 'Valor Final'
                end
                object Label94: TLabel
                  Left = 83
                  Top = 18
                  Width = 50
                  Height = 16
                  Caption = '% Desc.'
                end
                object RxDBCValorServico: TRxDBCalcEdit
                  Left = 4
                  Top = 33
                  Width = 66
                  Height = 21
                  DataField = 'NF_VALORSERVICO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 0
                end
                object RxDBCDescontoServico: TRxDBCalcEdit
                  Left = 83
                  Top = 33
                  Width = 66
                  Height = 21
                  DataField = 'NF_PERCENTUAL_DESCONTO_SERVICO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,0'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 1
                end
                object RxDBCValorDescontoServico: TRxDBCalcEdit
                  Left = 163
                  Top = 33
                  Width = 66
                  Height = 21
                  DataField = 'NF_VALORDESCONTOSERVICO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 2
                end
                object RxDBCValorFinalServico: TRxDBCalcEdit
                  Left = 243
                  Top = 33
                  Width = 66
                  Height = 21
                  DataField = 'NF_VALORFINALSERVICO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 3
                end
              end
              object DBEFormaPagto: TDBEdit
                Left = 8
                Top = 113
                Width = 337
                Height = 22
                DataField = 'NF_FORMAPAGAMENTO'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 1
              end
              object RxDBCPercIRRF: TRxDBCalcEdit
                Left = 481
                Top = 29
                Width = 67
                Height = 21
                DataField = 'NF_PERCIRRF'
                DataSource = dsCadastro
                Ctl3D = False
                DecimalPlaces = 4
                DisplayFormat = '0.,000'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 2
              end
              object RxDBCValorIRRF: TRxDBCalcEdit
                Left = 556
                Top = 29
                Width = 99
                Height = 21
                DataField = 'NF_VALORIRRF'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 3
              end
              object DBCRetemIRRF: TDBCheckBox
                Left = 439
                Top = 29
                Width = 21
                Height = 17
                DataField = 'NF_RETEMIRRF'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 4
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object RxDBCPercPIS: TRxDBCalcEdit
                Left = 481
                Top = 51
                Width = 67
                Height = 21
                DataField = 'NF_PERCPIS'
                DataSource = dsCadastro
                Ctl3D = False
                DecimalPlaces = 4
                DisplayFormat = '0.,000'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 5
              end
              object RxDBCValorPIS: TRxDBCalcEdit
                Left = 556
                Top = 51
                Width = 99
                Height = 21
                DataField = 'NF_VALORPIS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 6
              end
              object DBCRetemPIS: TDBCheckBox
                Left = 439
                Top = 51
                Width = 21
                Height = 17
                DataField = 'NF_RETEMPIS'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 7
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object RxDBCPercCOFINS: TRxDBCalcEdit
                Left = 481
                Top = 73
                Width = 67
                Height = 21
                DataField = 'NF_PERCCOFINS'
                DataSource = dsCadastro
                Ctl3D = False
                DecimalPlaces = 4
                DisplayFormat = '0.,000'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 8
              end
              object RxDBCValorCOFINS: TRxDBCalcEdit
                Left = 556
                Top = 73
                Width = 99
                Height = 21
                DataField = 'NF_VALORCOFINS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 9
              end
              object DBCRetemCOFINS: TDBCheckBox
                Left = 439
                Top = 73
                Width = 20
                Height = 17
                DataField = 'NF_RETEMCOFINS'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 10
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object RxDBCPercCSLL: TRxDBCalcEdit
                Left = 481
                Top = 95
                Width = 67
                Height = 21
                DataField = 'NF_PERCCSLL'
                DataSource = dsCadastro
                Ctl3D = False
                DecimalPlaces = 4
                DisplayFormat = '0.,000'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 11
              end
              object RxDBCValorCSLL: TRxDBCalcEdit
                Left = 556
                Top = 95
                Width = 99
                Height = 21
                DataField = 'NF_VALORCSLL'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 12
              end
              object DBCRetemCSLL: TDBCheckBox
                Left = 439
                Top = 95
                Width = 20
                Height = 17
                DataField = 'NF_RETEMCSLL'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 13
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object RxDBCPercINSS: TRxDBCalcEdit
                Left = 481
                Top = 117
                Width = 67
                Height = 21
                DataField = 'NF_PERCINSS'
                DataSource = dsCadastro
                Ctl3D = False
                DecimalPlaces = 4
                DisplayFormat = '0.,000'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 14
              end
              object RxDBCValorINSS: TRxDBCalcEdit
                Left = 556
                Top = 117
                Width = 99
                Height = 21
                DataField = 'NF_VALORINSS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 15
              end
              object DBCRetemINSS: TDBCheckBox
                Left = 439
                Top = 117
                Width = 20
                Height = 17
                DataField = 'NF_RETEMINSS'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 16
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object RxDBCPercISS: TRxDBCalcEdit
                Left = 481
                Top = 139
                Width = 67
                Height = 21
                DataField = 'NF_PERCISS'
                DataSource = dsCadastro
                Ctl3D = False
                DecimalPlaces = 4
                DisplayFormat = '0.,000'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 17
              end
              object RxDBCValorISS: TRxDBCalcEdit
                Left = 556
                Top = 139
                Width = 99
                Height = 21
                DataField = 'NF_VALORISS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 18
              end
              object DBCRetemISS: TDBCheckBox
                Left = 439
                Top = 139
                Width = 21
                Height = 17
                DataField = 'NF_RETEMISS'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 19
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object DBCAbateRetencao: TDBCheckBox
                Left = 336
                Top = 161
                Width = 115
                Height = 17
                Alignment = taLeftJustify
                Caption = 'Abate reten'#231#227'o'
                Color = clBtnFace
                DataField = 'NF_ABATERETENCAO'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentColor = False
                ParentFont = False
                TabOrder = 20
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
              object RxDBCValorRetencao: TRxDBCalcEdit
                Left = 556
                Top = 161
                Width = 99
                Height = 21
                DataField = 'NF_RETENCAO'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 21
              end
              object DBCheckBox1: TDBCheckBox
                Left = 103
                Top = 155
                Width = 21
                Height = 17
                DataField = 'NF_REIDI'
                DataSource = dsCadastro
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
                TabOrder = 22
                ValueChecked = '1'
                ValueUnchecked = '0'
              end
            end
          end
          object TSComplemento: TTabSheet
            Caption = 'Complemento'
            ImageIndex = 4
            object Label55: TLabel
              Left = 3
              Top = 3
              Width = 86
              Height = 16
              Caption = 'Transportadora'
            end
            object Label56: TLabel
              Left = 589
              Top = 3
              Width = 33
              Height = 16
              Caption = 'Placa'
              FocusControl = DBEplaca
            end
            object Label57: TLabel
              Left = 684
              Top = 3
              Width = 17
              Height = 16
              Caption = 'UF'
              FocusControl = DBEUFPlaca
            end
            object Label58: TLabel
              Left = 3
              Top = 64
              Width = 66
              Height = 16
              Caption = 'Quantidade'
            end
            object Label59: TLabel
              Left = 74
              Top = 64
              Width = 47
              Height = 16
              Caption = 'Esp'#233'cie'
              FocusControl = DBEEspecieVolumes
            end
            object Label60: TLabel
              Left = 162
              Top = 65
              Width = 36
              Height = 16
              Caption = 'Marca'
              FocusControl = DBEmarca
            end
            object Label61: TLabel
              Left = 248
              Top = 65
              Width = 45
              Height = 16
              Caption = 'N'#250'mero'
              FocusControl = DBENumero2
            end
            object Label62: TLabel
              Left = 333
              Top = 65
              Width = 65
              Height = 16
              Caption = 'Peso Bruto'
            end
            object Label63: TLabel
              Left = 424
              Top = 65
              Width = 75
              Height = 16
              Caption = 'Peso Liqu'#237'do'
            end
            object Label64: TLabel
              Left = 3
              Top = 117
              Width = 67
              Height = 16
              Caption = 'Texto Legal'
            end
            object Label65: TLabel
              Left = 3
              Top = 198
              Width = 101
              Height = 16
              Caption = 'Dados Adicionais'
            end
            object DBLCBTransportadora: TDBLookupComboBox
              Left = 3
              Top = 19
              Width = 337
              Height = 22
              Ctl3D = False
              DataField = 'NF_TRANSPORTADORA'
              DataSource = dsCadastro
              KeyField = 'TRANS_CODIGO'
              ListField = 'TRANS_NOME'
              ListSource = DStransportadora
              ParentCtl3D = False
              TabOrder = 0
            end
            object DBRGFrete: TDBRadioGroup
              Left = 345
              Top = 3
              Width = 232
              Height = 48
              Caption = '  Frete  '
              Columns = 2
              Ctl3D = False
              DataField = 'NF_FRETE'
              DataSource = dsCadastro
              Items.Strings = (
                'Emitente'
                'Destinat'#225'rio')
              ParentCtl3D = False
              TabOrder = 1
              Values.Strings = (
                '1'
                '2')
            end
            object DBEplaca: TDBEdit
              Left = 589
              Top = 18
              Width = 86
              Height = 22
              Ctl3D = False
              DataField = 'NF_PLACA'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 2
            end
            object DBEUFPlaca: TDBEdit
              Left = 684
              Top = 18
              Width = 30
              Height = 22
              Ctl3D = False
              DataField = 'NF_PLACAUF'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 3
            end
            object DBEEspecieVolumes: TDBEdit
              Left = 74
              Top = 81
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'NF_ESPECIEVOLUME'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 5
            end
            object DBEmarca: TDBEdit
              Left = 162
              Top = 81
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'NF_MARCA'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 6
            end
            object DBENumero2: TDBEdit
              Left = 248
              Top = 81
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'NF_NUMERACAO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 7
            end
            object RxDBQuantidade: TRxDBCalcEdit
              Left = 3
              Top = 81
              Width = 57
              Height = 22
              DataField = 'NF_QUANTIDADEVOLUME'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 4
            end
            object RxDBCPesoBrutoTotal: TRxDBCalcEdit
              Left = 333
              Top = 81
              Width = 79
              Height = 22
              DataField = 'NF_PESOBRUTO'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 8
            end
            object RxDBCPesoLiquidoTotal: TRxDBCalcEdit
              Left = 424
              Top = 81
              Width = 79
              Height = 22
              DataField = 'NF_PESOLIQUIDO'
              DataSource = dsCadastro
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 9
            end
            object DBETextolegal1: TDBEdit
              Left = 4
              Top = 132
              Width = 597
              Height = 22
              Ctl3D = False
              DataField = 'NF_TEXTOLEGAL'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 10
            end
            object DBETextolegal2: TDBEdit
              Left = 4
              Top = 153
              Width = 597
              Height = 22
              Ctl3D = False
              DataField = 'NF_TEXTOLEGAL2'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 11
            end
            object DBETextolegal3: TDBEdit
              Left = 4
              Top = 174
              Width = 597
              Height = 22
              Ctl3D = False
              DataField = 'NF_OBS4'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 12
            end
            object DBEDadosAdicionais1: TDBEdit
              Left = 3
              Top = 213
              Width = 827
              Height = 22
              Ctl3D = False
              DataField = 'NF_DADOSADICONAIS'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 13
            end
            object DBEDadosAdicionais2: TDBEdit
              Left = 3
              Top = 234
              Width = 827
              Height = 22
              Ctl3D = False
              DataField = 'NF_OBS5'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 14
            end
            object DBEDadosAdicionais3: TDBEdit
              Left = 3
              Top = 255
              Width = 827
              Height = 22
              Ctl3D = False
              DataField = 'NF_OBS6'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 15
            end
            object DBEDadosAdicionais4: TDBEdit
              Left = 3
              Top = 276
              Width = 827
              Height = 22
              Ctl3D = False
              DataField = 'NF_OBS7'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 16
            end
          end
          object TS_DI: TTabSheet
            Caption = 'D.I.'
            ImageIndex = 5
            object Label105: TLabel
              Left = 147
              Top = 13
              Width = 27
              Height = 16
              Hint = 'Este C'#243'digo Est'#225' no Documento D.I.'
              Caption = 'Data'
              Font.Charset = ANSI_CHARSET
              Font.Color = clWindowText
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label106: TLabel
              Left = 3
              Top = 13
              Width = 45
              Height = 16
              Caption = 'N'#250'mero'
              Font.Charset = ANSI_CHARSET
              Font.Color = clWindowText
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object DBEdit13: TDBEdit
              Tag = 5
              Left = 3
              Top = 29
              Width = 129
              Height = 22
              HelpType = htKeyword
              Ctl3D = False
              DataField = 'NF_DI_NDI'
              DataSource = dsCadastro
              MaxLength = 10
              ParentCtl3D = False
              TabOrder = 0
            end
            object DBDateEdit4: TDBDateEdit
              Left = 147
              Top = 29
              Width = 117
              Height = 22
              DataField = 'NF_DI_DDT'
              DataSource = dsCadastro
              Ctl3D = False
              Font.Charset = ANSI_CHARSET
              Font.Color = clWindowText
              Font.Height = -12
              Font.Name = 'Arial'
              Font.Style = []
              ButtonWidth = 26
              NumGlyphs = 2
              ParentCtl3D = False
              ParentFont = False
              TabOrder = 1
            end
            object GroupBox8: TGroupBox
              Left = 3
              Top = 55
              Width = 531
              Height = 79
              Caption = ' Desembara'#231'o '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 2
              object Label107: TLabel
                Left = 131
                Top = 23
                Width = 31
                Height = 16
                Caption = 'Local'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label109: TLabel
                Left = 344
                Top = 23
                Width = 17
                Height = 16
                Caption = 'UF'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label110: TLabel
                Left = 8
                Top = 23
                Width = 113
                Height = 16
                Caption = 'Cod, Municipio (F8)'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label108: TLabel
                Left = 405
                Top = 25
                Width = 27
                Height = 16
                Caption = 'Data'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object DBEdit14: TDBEdit
                Tag = 5
                Left = 131
                Top = 43
                Width = 198
                Height = 22
                Ctl3D = False
                DataField = 'NF_DI_XLOCDESEMB'
                DataSource = dsCadastro
                ParentCtl3D = False
                TabOrder = 1
              end
              object DBEdit15: TDBEdit
                Tag = 5
                Left = 335
                Top = 43
                Width = 63
                Height = 22
                Ctl3D = False
                DataField = 'NF_DI_UFDESEMB'
                DataSource = dsCadastro
                ParentCtl3D = False
                ReadOnly = True
                TabOrder = 2
              end
              object DBEdit16: TDBEdit
                Tag = 5
                Left = 8
                Top = 43
                Width = 118
                Height = 22
                Ctl3D = False
                DataField = 'NF_DI_CODMUNDESEMB'
                DataSource = dsCadastro
                ParentCtl3D = False
                TabOrder = 0
              end
              object DBDateEdit5: TDBDateEdit
                Left = 405
                Top = 43
                Width = 117
                Height = 22
                DataField = 'NF_DI_DDESEMB'
                DataSource = dsCadastro
                Ctl3D = False
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -12
                Font.Name = 'Arial'
                Font.Style = []
                ButtonWidth = 26
                NumGlyphs = 2
                ParentCtl3D = False
                ParentFont = False
                TabOrder = 3
              end
            end
            object GroupBox11: TGroupBox
              Left = 3
              Top = 143
              Width = 270
              Height = 133
              Caption = '  Impostos  '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 3
              object Label25: TLabel
                Left = 14
                Top = 23
                Width = 53
                Height = 16
                Caption = 'Valor Pis'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label116: TLabel
                Left = 139
                Top = 23
                Width = 70
                Height = 16
                Caption = 'Valor Cofins'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label117: TLabel
                Left = 14
                Top = 79
                Width = 40
                Height = 16
                Caption = 'Valor II'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object Label118: TLabel
                Left = 139
                Top = 79
                Width = 92
                Height = 16
                Caption = 'Valor Aduaneira'
                Font.Charset = ANSI_CHARSET
                Font.Color = clWindowText
                Font.Height = -13
                Font.Name = 'Arial'
                Font.Style = []
                ParentFont = False
              end
              object RxDBCalcEdit4: TRxDBCalcEdit
                Tag = 5
                Left = 14
                Top = 40
                Width = 105
                Height = 21
                DataField = 'NF_VALOR_PIS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 0
              end
              object RxDBCalcEdit6: TRxDBCalcEdit
                Tag = 5
                Left = 139
                Top = 40
                Width = 105
                Height = 21
                DataField = 'NF_VALOR_COFINS'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 1
              end
              object RxDBCalcEdit7: TRxDBCalcEdit
                Tag = 5
                Left = 139
                Top = 96
                Width = 105
                Height = 21
                DataField = 'NF_VALOR_ADUANEIRO'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 2
              end
              object RxDBCalcEdit8: TRxDBCalcEdit
                Tag = 5
                Left = 14
                Top = 96
                Width = 105
                Height = 21
                DataField = 'NF_VALOR_II'
                DataSource = dsCadastro
                Ctl3D = False
                DisplayFormat = '0.,00'
                ButtonWidth = 0
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 3
              end
            end
          end
        end
      end
    end
    inherited tsUsuario: TTabSheet
      object GroupBox5: TGroupBox
        Left = 0
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Fechamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 4
        object lbHoraFechamento: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object lbDataFechamento: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbUsuarioFechamento: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
      object GroupBox6: TGroupBox
        Left = 211
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Desf. Fechamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 5
        object Label101: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object Label102: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object Label103: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
      object GroupBox7: TGroupBox
        Left = 422
        Top = 174
        Width = 210
        Height = 129
        Caption = '  Cancelamento  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 6
        object lbHoraCancelamento: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
        object lbDataCancelamento: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbUsuarioCancelamento: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
      end
    end
  end
  inherited QCadastro: TQuery
    SQL.Strings = (
      'select * from notafiscalvenda')
  end
  inherited dspCadastro: TDataSetProvider
    Left = 232
    Top = 336
  end
  inherited cdsCadastro: TClientDataSet
    Active = True
  end
  object PopupMenu2: TPopupMenu
    OnPopup = PopupMenu1Popup
    Left = 504
    Top = 64
    object MenuItem1: TMenuItem
      Caption = 'Recuperar'
      OnClick = Excluir1Click
    end
    object MenuItem2: TMenuItem
      Caption = '-----------------------'
    end
    object MenuItem3: TMenuItem
      Caption = 'Exibir Todos'
      OnClick = ExibirTudo1Click
    end
    object MenuItem4: TMenuItem
      Caption = 'Exibir s'#243' Excluidos'
      OnClick = SoExcluidos1Click
    end
    object MenuItem5: TMenuItem
      Caption = 'Exibir n'#227'o Excluidos'
      OnClick = NoExcluidos1Click
    end
  end
  object DataSource1: TDataSource
    AutoEdit = False
    DataSet = ClientDataSet1
    OnStateChange = dsCadastroStateChange
    OnDataChange = dsCadastroDataChange
    Left = 520
    Top = 422
  end
  object Query1: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * from NotaFiscalVenda'
      '')
    Left = 552
    Top = 294
  end
  object DataSetProvider1: TDataSetProvider
    DataSet = Query1
    Options = [poAllowCommandText]
    Left = 608
    Top = 414
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    FetchOnDemand = False
    PacketRecords = 500
    Params = <>
    ProviderName = 'dspCadastro'
    BeforeOpen = cdsCadastroBeforeOpen
    AfterOpen = cdsCadastroAfterOpen
    Left = 624
    Top = 302
    object cdsCadastroNF_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'NF_CODIGO'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
    end
    object cdsCadastroNF_SITUACAO: TIntegerField
      FieldName = 'NF_SITUACAO'
    end
    object cdsCadastroNF_NUMERONF: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'N'#250'mero NF'
      FieldName = 'NF_NUMERONF'
    end
    object cdsCadastroNF_SERIENF: TStringField
      Alignment = taCenter
      DisplayLabel = 'S'#233'rie'
      FieldName = 'NF_SERIENF'
      Size = 3
    end
    object cdsCadastroNF_NUMEROSELO: TIntegerField
      DisplayLabel = 'Selo'
      FieldName = 'NF_NUMEROSELO'
    end
    object cdsCadastroNF_SERIESELO: TStringField
      FieldName = 'NF_SERIESELO'
      Size = 2
    end
    object cdsCadastroNF_DATAEMISSAO: TDateTimeField
      Alignment = taCenter
      DisplayLabel = 'Emiss'#227'o'
      FieldName = 'NF_DATAEMISSAO'
    end
    object cdsCadastroNF_TIPOVENDA: TIntegerField
      FieldName = 'NF_TIPOVENDA'
    end
    object cdsCadastroNF_TIPO: TIntegerField
      FieldName = 'NF_TIPO'
    end
    object cdsCadastroNF_PEDIDOVENDA: TIntegerField
      FieldName = 'NF_PEDIDOVENDA'
    end
    object cdsCadastroNF_ROMANEIO: TIntegerField
      FieldName = 'NF_ROMANEIO'
    end
    object cdsCadastroNF_CLIENTE: TIntegerField
      FieldName = 'NF_CLIENTE'
    end
    object cdsCadastroNF_VENDEDOR: TIntegerField
      FieldName = 'NF_VENDEDOR'
    end
    object cdsCadastroNF_PERCCOMISSAO: TFloatField
      FieldName = 'NF_PERCCOMISSAO'
    end
    object cdsCadastroNF_CFOPNF: TIntegerField
      FieldName = 'NF_CFOPNF'
    end
    object cdsCadastroNF_VALORSERVICO: TFloatField
      FieldName = 'NF_VALORSERVICO'
    end
    object cdsCadastroNF_VALORDESCONTOSERVICO: TFloatField
      FieldName = 'NF_VALORDESCONTOSERVICO'
    end
    object cdsCadastroNF_VALORFINALSERVICO: TFloatField
      FieldName = 'NF_VALORFINALSERVICO'
    end
    object cdsCadastroNF_VALORPRODUTO: TFloatField
      FieldName = 'NF_VALORPRODUTO'
    end
    object cdsCadastroNF_VALORDESCONTOPRODUTO: TFloatField
      FieldName = 'NF_VALORDESCONTOPRODUTO'
    end
    object cdsCadastroNF_VALORFINALPRODUTO: TFloatField
      FieldName = 'NF_VALORFINALPRODUTO'
    end
    object cdsCadastroNF_PERCISS: TFloatField
      FieldName = 'NF_PERCISS'
    end
    object cdsCadastroNF_PERCIRRF: TFloatField
      FieldName = 'NF_PERCIRRF'
    end
    object cdsCadastroNF_PERCINSS: TFloatField
      FieldName = 'NF_PERCINSS'
    end
    object cdsCadastroNF_VALORFRETE: TFloatField
      FieldName = 'NF_VALORFRETE'
    end
    object cdsCadastroNF_VALORSEGURO: TFloatField
      FieldName = 'NF_VALORSEGURO'
    end
    object cdsCadastroNF_VALOROUTROS: TFloatField
      FieldName = 'NF_VALOROUTROS'
    end
    object cdsCadastroNF_VALORIPI: TFloatField
      FieldName = 'NF_VALORIPI'
    end
    object cdsCadastroNF_VALORFINALNOTA: TFloatField
      DisplayLabel = 'Vr. Nota'
      FieldName = 'NF_VALORFINALNOTA'
      DisplayFormat = '#,##0.00'
    end
    object cdsCadastroNF_BASEICMSNORM: TFloatField
      FieldName = 'NF_BASEICMSNORM'
    end
    object cdsCadastroNF_VALORICMSNORM: TFloatField
      FieldName = 'NF_VALORICMSNORM'
    end
    object cdsCadastroNF_BASEICMSSUB: TFloatField
      FieldName = 'NF_BASEICMSSUB'
    end
    object cdsCadastroNF_VALORICMSSUB: TFloatField
      FieldName = 'NF_VALORICMSSUB'
    end
    object cdsCadastroNF_TRANSPORTADORA: TIntegerField
      FieldName = 'NF_TRANSPORTADORA'
    end
    object cdsCadastroNF_FRETE: TIntegerField
      FieldName = 'NF_FRETE'
    end
    object cdsCadastroNF_PLACA: TStringField
      FieldName = 'NF_PLACA'
      Size = 10
    end
    object cdsCadastroNF_PLACAUF: TStringField
      FieldName = 'NF_PLACAUF'
      Size = 2
    end
    object cdsCadastroNF_QUANTIDADEVOLUME: TStringField
      FieldName = 'NF_QUANTIDADEVOLUME'
      Size = 10
    end
    object cdsCadastroNF_ESPECIEVOLUME: TStringField
      FieldName = 'NF_ESPECIEVOLUME'
      Size = 10
    end
    object cdsCadastroNF_MARCA: TStringField
      FieldName = 'NF_MARCA'
      Size = 10
    end
    object cdsCadastroNF_NUMERO: TStringField
      FieldName = 'NF_NUMERO'
      Size = 10
    end
    object cdsCadastroNF_PESOBRUTO: TFloatField
      FieldName = 'NF_PESOBRUTO'
    end
    object cdsCadastroNF_PESOLIQUIDO: TFloatField
      FieldName = 'NF_PESOLIQUIDO'
    end
    object cdsCadastroNF_DADOSADICONAIS: TStringField
      FieldName = 'NF_DADOSADICONAIS'
      Size = 203
    end
    object cdsCadastroNF_TEXTOLEGAL: TStringField
      FieldName = 'NF_TEXTOLEGAL'
      Size = 203
    end
    object cdsCadastroUSUARIO: TStringField
      FieldName = 'USUARIO'
      Size = 10
    end
    object cdsCadastroDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
    end
    object cdsCadastroCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsCadastroNF_CANCELAMENTO: TStringField
      FieldName = 'NF_CANCELAMENTO'
      Size = 252
    end
    object cdsCadastroNF_PERCPIS: TFloatField
      FieldName = 'NF_PERCPIS'
    end
    object cdsCadastroNF_PERCCOFINS: TFloatField
      FieldName = 'NF_PERCCOFINS'
    end
    object cdsCadastroNF_PERCCSLL: TFloatField
      FieldName = 'NF_PERCCSLL'
    end
    object cdsCadastroNF_DATAVENCIMENTO: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO'
    end
    object cdsCadastroNF_RETEMISS: TSmallintField
      FieldName = 'NF_RETEMISS'
    end
    object cdsCadastroNF_OBS: TStringField
      FieldName = 'NF_OBS'
      Size = 200
    end
    object cdsCadastroNF_ABATERETENCAO: TSmallintField
      FieldName = 'NF_ABATERETENCAO'
    end
    object cdsCadastroNF_FORMAPAGAMENTO: TStringField
      FieldName = 'NF_FORMAPAGAMENTO'
      Size = 40
    end
    object cdsCadastroNF_VALORNOTAFISCAL: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL'
    end
    object cdsCadastroNF_VALORIRRF: TFloatField
      FieldName = 'NF_VALORIRRF'
    end
    object cdsCadastroNF_VALORPIS: TFloatField
      FieldName = 'NF_VALORPIS'
    end
    object cdsCadastroNF_VALORCOFINS: TFloatField
      FieldName = 'NF_VALORCOFINS'
    end
    object cdsCadastroNF_VALORCSLL: TFloatField
      FieldName = 'NF_VALORCSLL'
    end
    object cdsCadastroNF_VALORINSS: TFloatField
      FieldName = 'NF_VALORINSS'
    end
    object cdsCadastroNF_VALORISS: TFloatField
      FieldName = 'NF_VALORISS'
    end
    object cdsCadastroNF_RETENCAO: TFloatField
      FieldName = 'NF_RETENCAO'
    end
    object cdsCadastroNF_COBRANCAPROGRAMADA: TIntegerField
      FieldName = 'NF_COBRANCAPROGRAMADA'
    end
    object cdsCadastroNF_MESANOCOBRANCAPROGRAMADA: TStringField
      FieldName = 'NF_MESANOCOBRANCAPROGRAMADA'
    end
    object cdsCadastroNF_OBS1: TStringField
      FieldName = 'NF_OBS1'
      Size = 252
    end
    object cdsCadastroNF_OBS2: TStringField
      FieldName = 'NF_OBS2'
      Size = 252
    end
    object cdsCadastroNF_OBS3: TStringField
      FieldName = 'NF_OBS3'
      Size = 252
    end
    object cdsCadastroNF_OBS4: TStringField
      FieldName = 'NF_OBS4'
      Size = 252
    end
    object cdsCadastroNF_OBS5: TStringField
      FieldName = 'NF_OBS5'
      Size = 252
    end
    object cdsCadastroNF_VALORNOTAFISCAL2: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL2'
    end
    object cdsCadastroNF_VALORNOTAFISCAL3: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL3'
    end
    object cdsCadastroNF_DATAVENCIMENTO2: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO2'
    end
    object cdsCadastroNF_DATAVENCIMENTO3: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO3'
    end
    object cdsCadastroNF_VALORNOTAFISCAL1: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL1'
    end
    object cdsCadastroNF_DATAVENCIMENTO1: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO1'
    end
    object cdsCadastroNF_TEXTOLEGAL2: TStringField
      FieldName = 'NF_TEXTOLEGAL2'
      Size = 203
    end
    object cdsCadastroNF_DATACANCELAMENTO: TDateTimeField
      FieldName = 'NF_DATACANCELAMENTO'
    end
    object cdsCadastroNF_USUARIOCANCELAMENTO: TStringField
      FieldName = 'NF_USUARIOCANCELAMENTO'
    end
    object cdsCadastroNF_OBS6: TStringField
      FieldName = 'NF_OBS6'
      Size = 252
    end
    object cdsCadastroNF_OBS7: TStringField
      FieldName = 'NF_OBS7'
      Size = 252
    end
    object cdsCadastroNF_OBS8: TStringField
      FieldName = 'NF_OBS8'
      Size = 252
    end
    object cdsCadastroNF_OBS9: TStringField
      FieldName = 'NF_OBS9'
      Size = 252
    end
    object cdsCadastroNF_OBS10: TStringField
      FieldName = 'NF_OBS10'
      Size = 252
    end
    object cdsCadastroNF_RETEMINSS: TSmallintField
      FieldName = 'NF_RETEMINSS'
    end
    object cdsCadastroNF_RETEMIRRF: TSmallintField
      FieldName = 'NF_RETEMIRRF'
    end
    object cdsCadastroNF_RETEMPIS: TSmallintField
      FieldName = 'NF_RETEMPIS'
    end
    object cdsCadastroNF_RETEMCOFINS: TSmallintField
      FieldName = 'NF_RETEMCOFINS'
    end
    object cdsCadastroNF_RETEMCSLL: TSmallintField
      FieldName = 'NF_RETEMCSLL'
    end
    object cdsCadastroNF_MUNICIPIO: TIntegerField
      FieldName = 'NF_MUNICIPIO'
    end
    object cdsCadastroNF_PERCENTUAL_DESCONTO_PRODUTO: TFloatField
      FieldName = 'NF_PERCENTUAL_DESCONTO_PRODUTO'
    end
    object cdsCadastroNF_PERCENTUAL_DESCONTO_SERVICO: TFloatField
      FieldName = 'NF_PERCENTUAL_DESCONTO_SERVICO'
    end
    object cdsCadastroNF_COBRANCA: TIntegerField
      FieldName = 'NF_COBRANCA'
    end
    object cdsCadastroNF_VALORNOTAFISCAL4: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL4'
    end
    object cdsCadastroNF_VALORNOTAFISCAL5: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL5'
    end
    object cdsCadastroNF_VALORNOTAFISCAL6: TFloatField
      FieldName = 'NF_VALORNOTAFISCAL6'
    end
    object cdsCadastroNF_DATAVENCIMENTO4: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO4'
    end
    object cdsCadastroNF_DATAVENCIMENTO5: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO5'
    end
    object cdsCadastroNF_DATAVENCIMENTO6: TDateTimeField
      FieldName = 'NF_DATAVENCIMENTO6'
    end
    object cdsCadastroNF_LOCAL_ESTOQUE: TIntegerField
      FieldName = 'NF_LOCAL_ESTOQUE'
    end
    object cdsCadastroNF_DETALHE_CLASS_FISCAL: TStringField
      FieldName = 'NF_DETALHE_CLASS_FISCAL'
      Size = 255
    end
    object cdsCadastroNF_ORIGEM: TStringField
      FieldName = 'NF_ORIGEM'
      Size = 2
    end
    object cdsCadastroNF_CODIGO_CONFERENCIA: TIntegerField
      FieldName = 'NF_CODIGO_CONFERENCIA'
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsCadastroDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsCadastroNF_TIPO_RPS: TStringField
      FieldName = 'NF_TIPO_RPS'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroNF_SERIE_RPS: TStringField
      Alignment = taCenter
      DisplayLabel = 'S'#233'rie RPS'
      FieldName = 'NF_SERIE_RPS'
      Size = 5
    end
    object cdsCadastroNF_NRPS: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'RPS'
      FieldName = 'NF_NRPS'
    end
    object cdsCadastroNF_SITUACAO_RPS: TStringField
      FieldName = 'NF_SITUACAO_RPS'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroNF_DTEMISSAO_RPS: TDateTimeField
      Alignment = taCenter
      DisplayLabel = 'Emiss'#227'o RPS'
      FieldName = 'NF_DTEMISSAO_RPS'
    end
    object cdsCadastroNF_CLIENTE_DESC: TStringField
      DisplayLabel = 'Cliente'
      FieldName = 'NF_CLIENTE_DESC'
      Size = 80
    end
    object cdsCadastroNF_COD_VERIFICACAO: TStringField
      FieldName = 'NF_COD_VERIFICACAO'
      Size = 8
    end
    object cdsCadastroNF_TIPOVENDA_DESC: TStringField
      DisplayLabel = 'Tipo Opera'#231#227'o'
      FieldName = 'NF_TIPOVENDA_DESC'
      Size = 100
    end
    object cdsCadastroSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsCadastroNFETPAMB: TIntegerField
      FieldName = 'NFETPAMB'
    end
    object cdsCadastroNFENREC: TStringField
      FieldName = 'NFENREC'
      Size = 15
    end
    object cdsCadastroNFECHNFE: TStringField
      FieldName = 'NFECHNFE'
      Size = 44
    end
    object cdsCadastroNFEDHRECBTO: TStringField
      FieldName = 'NFEDHRECBTO'
    end
    object cdsCadastroNFENPROT: TStringField
      FieldName = 'NFENPROT'
      Size = 15
    end
    object cdsCadastroNFEDIGVAL: TStringField
      FieldName = 'NFEDIGVAL'
      Size = 28
    end
    object cdsCadastroNFECSTAT: TStringField
      FieldName = 'NFECSTAT'
      Size = 3
    end
    object cdsCadastroNFEXMOTIVO: TStringField
      FieldName = 'NFEXMOTIVO'
      Size = 255
    end
    object cdsCadastroNFELOCALXML: TStringField
      FieldName = 'NFELOCALXML'
      Size = 250
    end
    object cdsCadastroNFESTATUS: TStringField
      FieldName = 'NFESTATUS'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroNFECPROTOCOLO: TStringField
      FieldName = 'NFECPROTOCOLO'
      Size = 100
    end
    object cdsCadastroNFECSTATUS: TStringField
      FieldName = 'NFECSTATUS'
    end
    object cdsCadastroNF_USUARIO_CANCELAMENTO: TStringField
      FieldName = 'NF_USUARIO_CANCELAMENTO'
    end
    object cdsCadastroNF_DATA_CANCELAMENTO: TDateTimeField
      FieldName = 'NF_DATA_CANCELAMENTO'
    end
    object cdsCadastroNF_DATA_FECHAMENTO: TDateTimeField
      FieldName = 'NF_DATA_FECHAMENTO'
    end
    object cdsCadastroNF_USUARIO_FECHAMENTO: TStringField
      FieldName = 'NF_USUARIO_FECHAMENTO'
    end
    object cdsCadastroNF_USUARIO_DESF_FECHAMENTO: TStringField
      FieldName = 'NF_USUARIO_DESF_FECHAMENTO'
    end
    object cdsCadastroNF_DATA_DESF_FECHAMENTO: TDateTimeField
      FieldName = 'NF_DATA_DESF_FECHAMENTO'
    end
    object cdsCadastroNF_ped_numero_talao: TStringField
      DisplayLabel = 'Doc. Origem'
      FieldName = 'NF_ped_numero_talao'
      Size = 17
    end
    object cdsCadastroNF_DI_NDI: TStringField
      FieldName = 'NF_DI_NDI'
    end
    object cdsCadastroNF_DI_DDT: TDateTimeField
      FieldName = 'NF_DI_DDT'
    end
    object cdsCadastroNF_DI_XLOCDESEMB: TStringField
      FieldName = 'NF_DI_XLOCDESEMB'
      Size = 200
    end
    object cdsCadastroNF_DI_UFDESEMB: TStringField
      FieldName = 'NF_DI_UFDESEMB'
      FixedChar = True
      Size = 2
    end
    object cdsCadastroNF_DI_DDESEMB: TDateTimeField
      FieldName = 'NF_DI_DDESEMB'
    end
    object cdsCadastroNF_DI_CODMUNDESEMB: TStringField
      FieldName = 'NF_DI_CODMUNDESEMB'
    end
    object cdsCadastroNF_DI_CEXPORTADOR: TStringField
      FieldName = 'NF_DI_CEXPORTADOR'
    end
    object cdsCadastroNF_INSCRI_SUBST: TStringField
      FieldName = 'NF_INSCRI_SUBIST'
    end
    object cdsCadastroNF_REIDI: TStringField
      FieldName = 'NF_REIDI'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroNF_DI_II_VBC: TFloatField
      FieldName = 'NF_DI_II_VBC'
    end
    object cdsCadastroNF_DI_II_VDESPADU: TFloatField
      FieldName = 'NF_DI_II_VDESPADU'
    end
    object cdsCadastroNF_DI_II_VII: TFloatField
      FieldName = 'NF_DI_II_VII'
    end
    object cdsCadastroNF_DI_II_VIOF: TFloatField
      FieldName = 'NF_DI_II_VIOF'
    end
    object cdsCadastroNF_COD_CONTRATO: TIntegerField
      FieldName = 'NF_COD_CONTRATO'
    end
    object cdsCadastroNF_NUMERACAO: TStringField
      FieldName = 'NF_NUMERACAO'
    end
    object cdsCadastroNF_VALOR_PIS: TFloatField
      FieldName = 'NF_VALOR_PIS'
    end
    object cdsCadastroNF_VALOR_COFINS: TFloatField
      FieldName = 'NF_VALOR_COFINS'
    end
    object cdsCadastroNF_VALOR_II: TFloatField
      FieldName = 'NF_VALOR_II'
    end
    object cdsCadastroNF_VALOR_ADUANEIRO: TFloatField
      FieldName = 'NF_VALOR_ADUANEIRO'
    end
  end
  object DataSource2: TDataSource
    Left = 768
    Top = 48
  end
  object OpenDialog2: TOpenDialog
    Left = 248
    Top = 40
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 664
    Top = 24
  end
  object QVerifica: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * from ItensNotaFiscalVenda')
    Left = 752
    Top = 112
  end
  object DSLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 600
    Top = 16
  end
  object QCobranca: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      
        'select * from cobranca Left JOIN PrestacaoCobranca ON Cob_Codigo' +
        ' = PrestCob_Cobranca'
      'Order By PrestCob_CODIGO')
    Left = 8
    Top = 16
    object QCobrancaCOB_CODIGO: TIntegerField
      FieldName = 'COB_CODIGO'
      Origin = 'BASE.COBRANCA.COB_CODIGO'
    end
    object QCobrancaCOB_DATA: TDateTimeField
      FieldName = 'COB_DATA'
      Origin = 'BASE.COBRANCA.COB_DATA'
    end
    object QCobrancaCOB_TIPO: TIntegerField
      FieldName = 'COB_TIPO'
      Origin = 'BASE.COBRANCA.COB_TIPO'
    end
    object QCobrancaCOB_VALOR: TFloatField
      FieldName = 'COB_VALOR'
      Origin = 'BASE.COBRANCA.COB_VALOR'
    end
    object QCobrancaCOB_NPRESTACAO: TIntegerField
      FieldName = 'COB_NPRESTACAO'
      Origin = 'BASE.COBRANCA.COB_NPRESTACAO'
    end
    object QCobrancaCOB_NDIASPRIMEIRAPRESTACAO: TIntegerField
      FieldName = 'COB_NDIASPRIMEIRAPRESTACAO'
      Origin = 'BASE.COBRANCA.COB_NDIASPRIMEIRAPRESTACAO'
    end
    object QCobrancaCOB_ITERVALODIASPRESTACAO: TIntegerField
      FieldName = 'COB_ITERVALODIASPRESTACAO'
      Origin = 'BASE.COBRANCA.COB_ITERVALODIASPRESTACAO'
    end
    object QCobrancaCOB_PEDIDOVENDA: TIntegerField
      FieldName = 'COB_PEDIDOVENDA'
      Origin = 'BASE.COBRANCA.COB_PEDIDOVENDA'
    end
    object QCobrancaCOB_ROMANEIO: TIntegerField
      FieldName = 'COB_ROMANEIO'
      Origin = 'BASE.COBRANCA.COB_ROMANEIO'
    end
    object QCobrancaCOB_NFVENDA: TIntegerField
      FieldName = 'COB_NFVENDA'
      Origin = 'BASE.COBRANCA.COB_NFVENDA'
    end
    object QCobrancaCOB_PLANO: TIntegerField
      FieldName = 'COB_PLANO'
      Origin = 'BASE.COBRANCA.COB_PLANO'
    end
    object QCobrancaCOB_PORTADOR: TIntegerField
      FieldName = 'COB_PORTADOR'
      Origin = 'BASE.COBRANCA.COB_PORTADOR'
    end
    object QCobrancaCOB_TIPODOCUMENTO: TIntegerField
      FieldName = 'COB_TIPODOCUMENTO'
      Origin = 'BASE.COBRANCA.COB_TIPODOCUMENTO'
    end
    object QCobrancaCOB_SITUACAO: TIntegerField
      FieldName = 'COB_SITUACAO'
      Origin = 'BASE.COBRANCA.COB_SITUACAO'
    end
    object QCobrancaUSUARIO: TStringField
      FieldName = 'USUARIO'
      Origin = 'BASE.COBRANCA.USUARIO'
      Size = 10
    end
    object QCobrancaDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
      Origin = 'BASE.COBRANCA.DATAMODIFICACAO'
    end
    object QCobrancaCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
      Origin = 'BASE.COBRANCA.CODIGOEMPRESA'
    end
    object QCobrancaCOB_GERACONTASRECEBER: TIntegerField
      FieldName = 'COB_GERACONTASRECEBER'
      Origin = 'BASE.COBRANCA.COB_GERACONTASRECEBER'
    end
    object QCobrancaCOB_PROCESSAESTOQUE: TIntegerField
      FieldName = 'COB_PROCESSAESTOQUE'
      Origin = 'BASE.COBRANCA.COB_PROCESSAESTOQUE'
    end
    object QCobrancaCOB_BANCO: TStringField
      FieldName = 'COB_BANCO'
      Origin = 'BASE.COBRANCA.COB_BANCO'
      Size = 3
    end
    object QCobrancaCOB_AGENCIA: TStringField
      FieldName = 'COB_AGENCIA'
      Origin = 'BASE.COBRANCA.COB_AGENCIA'
      Size = 4
    end
    object QCobrancaCOB_CHEQUE: TStringField
      FieldName = 'COB_CHEQUE'
      Origin = 'BASE.COBRANCA.COB_CHEQUE'
      Size = 6
    end
    object QCobrancaCOB_CENTROCUSTO: TIntegerField
      FieldName = 'COB_CENTROCUSTO'
      Origin = 'BASE.COBRANCA.COB_CENTROCUSTO'
    end
    object QCobrancaCOB_NUMERO: TIntegerField
      FieldName = 'COB_NUMERO'
      Origin = 'BASE.COBRANCA.COB_NUMERO'
    end
    object QCobrancaCOB_VALOR_FATURA_1: TFloatField
      FieldName = 'COB_VALOR_FATURA_1'
      Origin = 'BASE.COBRANCA.COB_VALOR_FATURA_1'
    end
    object QCobrancaCOB_VALOR_OUTRAS_FATURAS: TFloatField
      FieldName = 'COB_VALOR_OUTRAS_FATURAS'
      Origin = 'BASE.COBRANCA.COB_VALOR_OUTRAS_FATURAS'
    end
    object QCobrancaCOB_DIA_FIXO: TIntegerField
      FieldName = 'COB_DIA_FIXO'
      Origin = 'BASE.COBRANCA.COB_DIA_FIXO'
    end
    object QCobrancaCOB_ATUALIZADO: TIntegerField
      FieldName = 'COB_ATUALIZADO'
      Origin = 'BASE.COBRANCA.COB_ATUALIZADO'
    end
    object QCobrancaCOB_VALOR_NF_SEM_RETENCAO: TFloatField
      FieldName = 'COB_VALOR_NF_SEM_RETENCAO'
      Origin = 'BASE.COBRANCA.COB_VALOR_NF_SEM_RETENCAO'
    end
    object QCobrancaUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
      Origin = 'BASE.COBRANCA.USUARIO_CADASTRO'
    end
    object QCobrancaUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
      Origin = 'BASE.COBRANCA.USUARIO_AUTERACAO'
    end
    object QCobrancaUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
      Origin = 'BASE.COBRANCA.USUARIO_EXCLUSAO'
    end
    object QCobrancaDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
      Origin = 'BASE.COBRANCA.DATA_CADASTRO'
    end
    object QCobrancaDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
      Origin = 'BASE.COBRANCA.DATA_EXCLUSAO'
    end
    object QCobrancaDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
      Origin = 'BASE.COBRANCA.DATA_AUTERACAO'
    end
    object QCobrancaEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      Origin = 'BASE.COBRANCA.EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object QCobrancaUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
      Origin = 'BASE.COBRANCA.USUARIO_RECUPERACAO'
    end
    object QCobrancaDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaPRESTCOB_CODIGO: TIntegerField
      FieldName = 'PRESTCOB_CODIGO'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaPRESTCOB_COBRANCA: TIntegerField
      FieldName = 'PRESTCOB_COBRANCA'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaPRESTCOB_DATAVENCIMENTO: TDateTimeField
      FieldName = 'PRESTCOB_DATAVENCIMENTO'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaPRESTCOB_VALOR: TFloatField
      FieldName = 'PRESTCOB_VALOR'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaUSUARIO_1: TStringField
      FieldName = 'USUARIO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
      Size = 10
    end
    object QCobrancaDATAMODIFICACAO_1: TDateTimeField
      FieldName = 'DATAMODIFICACAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaCODIGOEMPRESA_1: TIntegerField
      FieldName = 'CODIGOEMPRESA_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaPRESTCOB_BANCO: TStringField
      FieldName = 'PRESTCOB_BANCO'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
      Size = 3
    end
    object QCobrancaPRESTCOB_AGENCIA: TStringField
      FieldName = 'PRESTCOB_AGENCIA'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
      Size = 4
    end
    object QCobrancaPRESTCOB_EMITENTE: TStringField
      FieldName = 'PRESTCOB_EMITENTE'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
      Size = 60
    end
    object QCobrancaPRESTCOB_CHEQUE: TStringField
      FieldName = 'PRESTCOB_CHEQUE'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
      Size = 6
    end
    object QCobrancaUSUARIO_CADASTRO_1: TStringField
      FieldName = 'USUARIO_CADASTRO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaUSUARIO_AUTERACAO_1: TStringField
      FieldName = 'USUARIO_AUTERACAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaUSUARIO_EXCLUSAO_1: TStringField
      FieldName = 'USUARIO_EXCLUSAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaDATA_CADASTRO_1: TDateTimeField
      FieldName = 'DATA_CADASTRO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaDATA_EXCLUSAO_1: TDateTimeField
      FieldName = 'DATA_EXCLUSAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaDATA_AUTERACAO_1: TDateTimeField
      FieldName = 'DATA_AUTERACAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaEXCLUIDO_1: TStringField
      FieldName = 'EXCLUIDO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
      FixedChar = True
      Size = 1
    end
    object QCobrancaUSUARIO_RECUPERACAO_1: TStringField
      FieldName = 'USUARIO_RECUPERACAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
    object QCobrancaDATA_RECUPERACAO_1: TDateTimeField
      FieldName = 'DATA_RECUPERACAO_1'
      Origin = 'BASE.COBRANCA.DATA_RECUPERACAO'
    end
  end
  object DSCobranca: TDataSource
    DataSet = QCobranca
    Left = 424
    Top = 176
  end
  object DSItensNotaFiscal: TDataSource
    AutoEdit = False
    Left = 536
    Top = 40
  end
  object DSTipoVenda: TDataSource
    DataSet = QTipoVenda
    Left = 576
    Top = 464
  end
  object DSVendedor: TDataSource
    DataSet = DMGestao.QVendedor
    Left = 136
    Top = 128
  end
  object QAux: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      
        'Select ROM_CLIENTE as Cliente,PED_VENDEDOR,PED_PERCCOMISSAO,ITEN' +
        'SPED_PEDIDO,ITENSPED_CODIGO,ITENSROM_LOCAL as Local,ITENSPED_PRO' +
        'DUTO,ITENSPED_DESCRICAOSERVICO,ITENSROM_QUANTIDADE as Quantidade' +
        ',ITENSPED_VALORUNIT'
      ',PROD_CLASSFISCAL2,PROD_CLASSFISCAL9,PROD_SITUACAOTRIBUTARIA'
      
        'From ROMANEIO inner join ITENSROMANEIO on Rom_Codigo = ItensRom_' +
        'Romaneio inner join ITENSPEDIDOVENDA on ITENSROM_ITEMPEDIDO = IT' +
        'ENSPED_Codigo inner join PEDIDOVENDA on ITENSPED_Pedido = PED_Co' +
        'digo'
      'inner join Produto on ITENSPED_PRODUTO = Prod_Codigo ')
    Left = 328
    Top = 192
  end
  object QTipoVenda: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select TipoVenda.*,'
      
        'TIPVEND_CODIGOVENDA || '#39' - '#39' || TIPVEND_DESCRICAO as cod_descric' +
        'ao'
      ' From TipoVenda'
      
        'where (tipovenda.excluido is null) OR (tipovenda.excluido <> '#39'S'#39 +
        ')'
      'order By TIPVEND_CODIGOVENDA')
    Left = 176
    Top = 320
  end
  object QProduto_Mercadoria: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * From produto ')
    Left = 304
    Top = 392
  end
  object DSProduto_Mercadoria: TDataSource
    DataSet = QProduto_Mercadoria
    OnDataChange = DSProduto_MercadoriaDataChange
    Left = 304
    Top = 352
  end
  object DStransportadora: TDataSource
    DataSet = QTransportadora
    Left = 784
    Top = 264
  end
  object QTransportadora: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * from Transportadora')
    Left = 392
    Top = 136
  end
  object DSMunicipio: TDataSource
    DataSet = QMunicipio
    Left = 376
    Top = 416
  end
  object QMunicipio: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'Select'
      'municipio.mu_vcnome ||'#39' - '#39'|| municipio.mu_uf as NOME,'
      'municipio.*'
      ' From Municipio'
      'where'
      '(municipio.excluido <> '#39'S'#39')or(municipio.excluido is null)'
      'order By municipio.mu_vcnome')
    Left = 160
    Top = 416
  end
  object QProduto_Servico: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * From produto where PROD_USO_CONSUMO = '#39'S'#39
      'order By Prod_DescricaoSai')
    Left = 768
    Top = 368
  end
  object DSProduto_Servico: TDataSource
    DataSet = QProduto_Servico
    Left = 480
    Top = 216
  end
  object DSCFOP: TDataSource
    DataSet = QCFOP
    Left = 784
    Top = 224
  end
  object QCFOP: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * From CFOP'
      'order By CFOP_DESCRICAO')
    Left = 656
    Top = 192
  end
  object dsItensMercadoria: TDataSource
    DataSet = cdsItensMercadoria
    OnStateChange = dsItensMercadoriaStateChange
    OnDataChange = dsItensMercadoriaDataChange
    Left = 528
    Top = 464
  end
  object dsItensServico: TDataSource
    DataSet = cdsItensServico
    Left = 524
    Top = 260
  end
  object cdsItensMercadoria: TClientDataSet
    Active = True
    Aggregates = <>
    IndexFieldNames = 'ITENSNF_NOTAFISCAL'
    MasterFields = 'NF_CODIGO'
    MasterSource = dsCadastro
    PacketRecords = 0
    Params = <>
    ProviderName = 'dspItensMercadoria'
    Left = 376
    Top = 352
    object cdsItensMercadoriaITENSNF_CODIGO: TIntegerField
      FieldName = 'ITENSNF_CODIGO'
    end
    object cdsItensMercadoriaITENSNF_NOTAFISCAL: TIntegerField
      FieldName = 'ITENSNF_NOTAFISCAL'
    end
    object cdsItensMercadoriaITENSNF_PEDIDOVENDA: TIntegerField
      FieldName = 'ITENSNF_PEDIDOVENDA'
    end
    object cdsItensMercadoriaITENSNF_ITEMPEDIDOVENDA: TIntegerField
      FieldName = 'ITENSNF_ITEMPEDIDOVENDA'
    end
    object cdsItensMercadoriaITENSNF_LOCAL: TIntegerField
      FieldName = 'ITENSNF_LOCAL'
    end
    object cdsItensMercadoriaITENSNF_PRODUTO: TIntegerField
      FieldName = 'ITENSNF_PRODUTO'
    end
    object cdsItensMercadoriaITENSNF_COMPLEMENTOPRODUTO: TMemoField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO'
      BlobType = ftMemo
      Size = 257
    end
    object cdsItensMercadoriaITENSNF_CLASSFISCAL2: TStringField
      FieldName = 'ITENSNF_CLASSFISCAL2'
      Size = 2
    end
    object cdsItensMercadoriaITENSNF_CLASSFISCAL9: TStringField
      FieldName = 'ITENSNF_CLASSFISCAL9'
      Size = 9
    end
    object cdsItensMercadoriaITENSNF_SITUACAOTRIBUTARIA: TSmallintField
      Alignment = taCenter
      FieldName = 'ITENSNF_SITUACAOTRIBUTARIA'
    end
    object cdsItensMercadoriaITENSNF_QUANTIDADE: TFloatField
      FieldName = 'ITENSNF_QUANTIDADE'
    end
    object cdsItensMercadoriaITENSNF_VALORUNITARIO: TFloatField
      FieldName = 'ITENSNF_VALORUNITARIO'
    end
    object cdsItensMercadoriaITENSNF_VALORTOTAL: TFloatField
      FieldName = 'ITENSNF_VALORTOTAL'
      DisplayFormat = '#0,.00'
    end
    object cdsItensMercadoriaITENSNF_PERCICMS: TFloatField
      FieldName = 'ITENSNF_PERCICMS'
    end
    object cdsItensMercadoriaITENSNF_PERCREDBASEICMS: TFloatField
      FieldName = 'ITENSNF_PERCREDBASEICMS'
    end
    object cdsItensMercadoriaITENSNF_PERCIPI: TFloatField
      FieldName = 'ITENSNF_PERCIPI'
    end
    object cdsItensMercadoriaITENSNF_PERCREDBASEIPI: TFloatField
      FieldName = 'ITENSNF_PERCREDBASEIPI'
    end
    object cdsItensMercadoriaITENSNF_VALORIPI: TFloatField
      FieldName = 'ITENSNF_VALORIPI'
    end
    object cdsItensMercadoriaITENSNF_PESOBRUTO: TFloatField
      FieldName = 'ITENSNF_PESOBRUTO'
    end
    object cdsItensMercadoriaITENSNF_PESOLIQUIDO: TFloatField
      FieldName = 'ITENSNF_PESOLIQUIDO'
    end
    object cdsItensMercadoriaITENSNF_PERCBASESERVICOINSS: TFloatField
      FieldName = 'ITENSNF_PERCBASESERVICOINSS'
    end
    object cdsItensMercadoriaITENSNF_PERCBASESERVICOISS: TFloatField
      FieldName = 'ITENSNF_PERCBASESERVICOISS'
    end
    object cdsItensMercadoriaITENSNF_SERVICO2: TStringField
      FieldName = 'ITENSNF_SERVICO2'
      Size = 200
    end
    object cdsItensMercadoriaITENSNF_SERVICO3: TStringField
      FieldName = 'ITENSNF_SERVICO3'
      Size = 200
    end
    object cdsItensMercadoriaITENSNF_SEQUENCIA_ITEM: TIntegerField
      FieldName = 'ITENSNF_SEQUENCIA_ITEM'
    end
    object cdsItensMercadoriaITENSNF_MUNICIPIO_SERVICO: TIntegerField
      FieldName = 'ITENSNF_MUNICIPIO_SERVICO'
    end
    object cdsItensMercadoriaITENSNF_DESCRICAO_NA_NOTA: TStringField
      FieldName = 'ITENSNF_DESCRICAO_NA_NOTA'
      Size = 250
    end
    object cdsItensMercadoriaITENSNF_PERC_ICMS_SUBS: TFloatField
      FieldName = 'ITENSNF_PERC_ICMS_SUBS'
    end
    object cdsItensMercadoriaITENSNF_PERC_AGREGACAO_ICMS_SUB: TFloatField
      FieldName = 'ITENSNF_PERC_AGREGACAO_ICMS_SUB'
    end
    object cdsItensMercadoriaITENSNF_VALOR_BASE_ICMS_SUBS: TFloatField
      FieldName = 'ITENSNF_VALOR_BASE_ICMS_SUBS'
    end
    object cdsItensMercadoriaITENSNF_VALOR_ICMS_SUBS: TFloatField
      FieldName = 'ITENSNF_VALOR_ICMS_SUBS'
    end
    object cdsItensMercadoriaITENSNF_COMPLEMENTOPRODUTO_2: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_2'
      Size = 255
    end
    object cdsItensMercadoriaITENSNF_COMPLEMENTOPRODUTO_3: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_3'
      Size = 255
    end
    object cdsItensMercadoriaITENSNF_COMPLEMENTOPRODUTO_4: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_4'
      Size = 255
    end
    object cdsItensMercadoriaITENSNF_COMPLEMENTOPRODUTO_5: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_5'
      Size = 255
    end
    object cdsItensMercadoriaITENSNF_VALORCUSTO: TFloatField
      FieldName = 'ITENSNF_VALORCUSTO'
    end
    object cdsItensMercadoriaUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsItensMercadoriaUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsItensMercadoriaUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsItensMercadoriaDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsItensMercadoriaDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsItensMercadoriaDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsItensMercadoriaEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsItensMercadoriaUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsItensMercadoriaDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsItensMercadoriaITENSNF_SERVICO: TMemoField
      FieldName = 'ITENSNF_SERVICO'
      BlobType = ftMemo
      Size = 1000
    end
    object cdsItensMercadoriaITENSNF_PRODUTO_DESC: TStringField
      FieldName = 'ITENSNF_PRODUTO_DESC'
      Size = 90
    end
    object cdsItensMercadoriaSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsItensMercadoriaCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsItensMercadoriaDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsItensMercadoriaITENSNF_BASEREDUICMS: TFloatField
      FieldName = 'ITENSNF_BASEREDUICMS'
    end
    object cdsItensMercadoriaITENSNFE_DI_NDI: TStringField
      FieldName = 'ITENSNFE_DI_NDI'
    end
    object cdsItensMercadoriaITENSNFE_DI_DDT: TDateTimeField
      FieldName = 'ITENSNFE_DI_DDT'
    end
    object cdsItensMercadoriaITENSNFE_DI_XLOCDESEMB: TStringField
      FieldName = 'ITENSNFE_DI_XLOCDESEMB'
      Size = 200
    end
    object cdsItensMercadoriaITENSNFE_DI_UFDESEMB: TStringField
      FieldName = 'ITENSNFE_DI_UFDESEMB'
      FixedChar = True
      Size = 2
    end
    object cdsItensMercadoriaITENSNFE_DI_DDESEMB: TDateTimeField
      FieldName = 'ITENSNFE_DI_DDESEMB'
    end
    object cdsItensMercadoriaITENSNFE_DI_CEXPORTADOR: TStringField
      FieldName = 'ITENSNFE_DI_CEXPORTADOR'
    end
    object cdsItensMercadoriaITENSNFE_DI_CODMUNDESEMB: TStringField
      FieldName = 'ITENSNFE_DI_CODMUNDESEMB'
    end
    object cdsItensMercadoriaITENSNFE_DI_NF_MAE: TIntegerField
      FieldName = 'ITENSNFE_DI_NF_MAE'
    end
    object cdsItensMercadoriaITENSNFE_DI_COD_EXPORTADOR: TIntegerField
      Alignment = taCenter
      FieldName = 'ITENSNFE_DI_COD_EXPORTADOR'
    end
    object cdsItensMercadoriaITENSNF_VALORESTOQUE: TFloatField
      FieldName = 'ITENSNF_VALORESTOQUE'
    end
    object cdsItensMercadoriaITENSNF_ADI_NADICAO: TStringField
      FieldName = 'ITENSNF_ADI_NADICAO'
      Size = 3
    end
    object cdsItensMercadoriaITENSNF_ADI_NSEQADIC: TStringField
      FieldName = 'ITENSNF_ADI_NSEQADIC'
      Size = 3
    end
    object cdsItensMercadoriaITENSNF_CFABRICANTE: TStringField
      FieldName = 'ITENSNF_CFABRICANTE'
      Size = 60
    end
    object cdsItensMercadoriaITENSNF_ADI_DESCDI: TFloatField
      FieldName = 'ITENSNF_ADI_DESCDI'
    end
    object cdsItensMercadoriaITENSNF_VALORUNIT_BASE_IPI: TFloatField
      FieldName = 'ITENSNF_VALORUNIT_BASE_IPI'
    end
    object cdsItensMercadoriaITENSNF_NFSALDO: TIntegerField
      FieldName = 'ITENSNF_NFSALDO'
    end
    object cdsItensMercadoriaITENSNF_NFSALDO_NUMERONF: TStringField
      FieldName = 'ITENSNF_NFSALDO_NUMERONF'
      Size = 10
    end
    object cdsItensMercadoriaITENSNF_NFSALDO_SERIENF: TStringField
      FieldName = 'ITENSNF_NFSALDO_SERIENF'
      Size = 3
    end
    object cdsItensMercadoriaITENSNF_NFSALDO_CODIGONF: TIntegerField
      FieldName = 'ITENSNF_NFSALDO_CODIGONF'
    end
    object cdsItensMercadoriaITENSNF_COD_DANFE: TStringField
      FieldName = 'ITENSNF_COD_DANFE'
    end
    object cdsItensMercadoriaITENSNF_VALOR_BASE_ICMS: TFloatField
      FieldName = 'ITENSNF_VALOR_BASE_ICMS'
    end
    object cdsItensMercadoriaITENSNF_AREA_ATUACAO: TIntegerField
      FieldName = 'ITENSNF_AREA_ATUACAO'
    end
    object cdsItensMercadoriaITENSNF_ENCARREGADO: TIntegerField
      FieldName = 'ITENSNF_ENCARREGADO'
    end
    object cdsItensMercadoriaITENSNF_NUM_PEDIDO_CLI: TStringField
      FieldName = 'ITENSNF_NUM_PEDIDO_CLI'
    end
    object cdsItensMercadoriaITENSNF_DATAINICIO_CONTRATO: TDateTimeField
      FieldName = 'ITENSNF_DATAINICIO_CONTRATO'
    end
    object cdsItensMercadoriaITENSNF_DATAFINAL_CONTRATO: TDateTimeField
      FieldName = 'ITENSNF_DATAFINAL_CONTRATO'
    end
    object cdsItensMercadoriaITENSNF_COMPETENCIA: TStringField
      FieldName = 'ITENSNF_COMPETENCIA'
      Size = 10
    end
    object cdsItensMercadoriaITENSNF_VALORDESCONTO: TFloatField
      FieldName = 'ITENSNF_VALORDESCONTO'
    end
  end
  object cdsItensServico: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'ITENSNF_NOTAFISCAL'
    MasterFields = 'NF_CODIGO'
    MasterSource = DataSource1
    PacketRecords = 0
    Params = <>
    ProviderName = 'dspItensServico'
    Left = 560
    Top = 352
    object cdsItensServicoITENSNF_CODIGO: TIntegerField
      FieldName = 'ITENSNF_CODIGO'
    end
    object cdsItensServicoITENSNF_NOTAFISCAL: TIntegerField
      FieldName = 'ITENSNF_NOTAFISCAL'
    end
    object cdsItensServicoITENSNF_PEDIDOVENDA: TIntegerField
      FieldName = 'ITENSNF_PEDIDOVENDA'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_ITEMPEDIDOVENDA: TIntegerField
      FieldName = 'ITENSNF_ITEMPEDIDOVENDA'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_LOCAL: TIntegerField
      FieldName = 'ITENSNF_LOCAL'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PRODUTO: TIntegerField
      FieldName = 'ITENSNF_PRODUTO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_COMPLEMENTOPRODUTO: TMemoField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO'
      ProviderFlags = [pfInUpdate]
      BlobType = ftMemo
      Size = 257
    end
    object cdsItensServicoITENSNF_CLASSFISCAL2: TStringField
      FieldName = 'ITENSNF_CLASSFISCAL2'
      ProviderFlags = [pfInUpdate]
      Size = 2
    end
    object cdsItensServicoITENSNF_CLASSFISCAL9: TStringField
      FieldName = 'ITENSNF_CLASSFISCAL9'
      ProviderFlags = [pfInUpdate]
      Size = 9
    end
    object cdsItensServicoITENSNF_SITUACAOTRIBUTARIA: TSmallintField
      FieldName = 'ITENSNF_SITUACAOTRIBUTARIA'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_QUANTIDADE: TFloatField
      FieldName = 'ITENSNF_QUANTIDADE'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_VALORUNITARIO: TFloatField
      DisplayLabel = 'Vr.Unit'#225'rio'
      FieldName = 'ITENSNF_VALORUNITARIO'
      ProviderFlags = [pfInUpdate]
      DisplayFormat = '#,##0.0000'
    end
    object cdsItensServicoITENSNF_VALORTOTAL: TFloatField
      DisplayLabel = 'Vr. Total'
      FieldName = 'ITENSNF_VALORTOTAL'
      ProviderFlags = [pfInUpdate]
      DisplayFormat = '#,##0.00'
    end
    object cdsItensServicoITENSNF_PERCICMS: TFloatField
      FieldName = 'ITENSNF_PERCICMS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PERCREDBASEICMS: TFloatField
      FieldName = 'ITENSNF_PERCREDBASEICMS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PERCIPI: TFloatField
      FieldName = 'ITENSNF_PERCIPI'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PERCREDBASEIPI: TFloatField
      FieldName = 'ITENSNF_PERCREDBASEIPI'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_VALORIPI: TFloatField
      FieldName = 'ITENSNF_VALORIPI'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PESOBRUTO: TFloatField
      FieldName = 'ITENSNF_PESOBRUTO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PESOLIQUIDO: TFloatField
      FieldName = 'ITENSNF_PESOLIQUIDO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PERCBASESERVICOINSS: TFloatField
      FieldName = 'ITENSNF_PERCBASESERVICOINSS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PERCBASESERVICOISS: TFloatField
      FieldName = 'ITENSNF_PERCBASESERVICOISS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_SERVICO2: TStringField
      FieldName = 'ITENSNF_SERVICO2'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object cdsItensServicoITENSNF_SERVICO3: TStringField
      FieldName = 'ITENSNF_SERVICO3'
      ProviderFlags = [pfInUpdate]
      Size = 200
    end
    object cdsItensServicoITENSNF_SEQUENCIA_ITEM: TIntegerField
      FieldName = 'ITENSNF_SEQUENCIA_ITEM'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_MUNICIPIO_SERVICO: TIntegerField
      FieldName = 'ITENSNF_MUNICIPIO_SERVICO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_DESCRICAO_NA_NOTA: TStringField
      FieldName = 'ITENSNF_DESCRICAO_NA_NOTA'
      ProviderFlags = [pfInUpdate]
      Size = 250
    end
    object cdsItensServicoITENSNF_PERC_ICMS_SUBS: TFloatField
      FieldName = 'ITENSNF_PERC_ICMS_SUBS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_PERC_AGREGACAO_ICMS_SUB: TFloatField
      FieldName = 'ITENSNF_PERC_AGREGACAO_ICMS_SUB'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_VALOR_BASE_ICMS_SUBS: TFloatField
      FieldName = 'ITENSNF_VALOR_BASE_ICMS_SUBS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_VALOR_ICMS_SUBS: TFloatField
      FieldName = 'ITENSNF_VALOR_ICMS_SUBS'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_COMPLEMENTOPRODUTO_2: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_2'
      ProviderFlags = [pfInUpdate]
      Size = 255
    end
    object cdsItensServicoITENSNF_COMPLEMENTOPRODUTO_3: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_3'
      ProviderFlags = [pfInUpdate]
      Size = 255
    end
    object cdsItensServicoITENSNF_COMPLEMENTOPRODUTO_4: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_4'
      ProviderFlags = [pfInUpdate]
      Size = 255
    end
    object cdsItensServicoITENSNF_COMPLEMENTOPRODUTO_5: TStringField
      FieldName = 'ITENSNF_COMPLEMENTOPRODUTO_5'
      ProviderFlags = [pfInUpdate]
      Size = 255
    end
    object cdsItensServicoITENSNF_VALORCUSTO: TFloatField
      FieldName = 'ITENSNF_VALORCUSTO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      ProviderFlags = [pfInUpdate]
      FixedChar = True
      Size = 1
    end
    object cdsItensServicoUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
      ProviderFlags = [pfInUpdate]
    end
    object cdsItensServicoITENSNF_SERVICO: TMemoField
      DisplayLabel = 'Servi'#231'o'
      FieldName = 'ITENSNF_SERVICO'
      ProviderFlags = [pfInUpdate]
      BlobType = ftMemo
      Size = 1000
    end
    object cdsItensServicoITENSNFE_DI_NDI: TStringField
      FieldName = 'ITENSNFE_DI_NDI'
    end
    object cdsItensServicoITENSNFE_DI_DDT: TDateTimeField
      FieldName = 'ITENSNFE_DI_DDT'
    end
    object cdsItensServicoITENSNFE_DI_XLOCDESEMB: TStringField
      FieldName = 'ITENSNFE_DI_XLOCDESEMB'
      Size = 200
    end
    object cdsItensServicoITENSNFE_DI_UFDESEMB: TStringField
      FieldName = 'ITENSNFE_DI_UFDESEMB'
      FixedChar = True
      Size = 2
    end
    object cdsItensServicoITENSNFE_DI_DDESEMB: TDateTimeField
      FieldName = 'ITENSNFE_DI_DDESEMB'
    end
    object cdsItensServicoITENSNFE_DI_CEXPORTADOR: TStringField
      FieldName = 'ITENSNFE_DI_CEXPORTADOR'
    end
    object cdsItensServicoITENSNFE_DI_CODMUNDESEMB: TStringField
      FieldName = 'ITENSNFE_DI_CODMUNDESEMB'
    end
    object cdsItensServicoITENSNFE_DI_NF_MAE: TIntegerField
      FieldName = 'ITENSNFE_DI_NF_MAE'
    end
    object cdsItensServicoITENSNFE_DI_COD_EXPORTADOR: TIntegerField
      FieldName = 'ITENSNFE_DI_COD_EXPORTADOR'
    end
    object cdsItensServicoITENSNF_PRODUTO_DESC: TStringField
      FieldName = 'ITENSNF_PRODUTO_DESC'
      Size = 100
    end
    object cdsItensServicoSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsItensServicoCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsItensServicoDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsItensServicoITENSNF_BASEREDUICMS: TFloatField
      FieldName = 'ITENSNF_BASEREDUICMS'
    end
    object cdsItensServicoITENSNF_VALORESTOQUE: TFloatField
      FieldName = 'ITENSNF_VALORESTOQUE'
    end
    object cdsItensServicoITENSNF_ADI_NADICAO: TStringField
      FieldName = 'ITENSNF_ADI_NADICAO'
      Size = 3
    end
    object cdsItensServicoITENSNF_ADI_NSEQADIC: TStringField
      FieldName = 'ITENSNF_ADI_NSEQADIC'
      Size = 3
    end
    object cdsItensServicoITENSNF_CFABRICANTE: TStringField
      FieldName = 'ITENSNF_CFABRICANTE'
      Size = 60
    end
    object cdsItensServicoITENSNF_ADI_DESCDI: TFloatField
      FieldName = 'ITENSNF_ADI_DESCDI'
    end
    object cdsItensServicoITENSNF_VALORUNIT_BASE_IPI: TFloatField
      FieldName = 'ITENSNF_VALORUNIT_BASE_IPI'
    end
    object cdsItensServicoITENSNF_NFSALDO: TIntegerField
      FieldName = 'ITENSNF_NFSALDO'
    end
    object cdsItensServicoITENSNF_NFSALDO_NUMERONF: TStringField
      FieldName = 'ITENSNF_NFSALDO_NUMERONF'
      Size = 10
    end
    object cdsItensServicoITENSNF_NFSALDO_SERIENF: TStringField
      FieldName = 'ITENSNF_NFSALDO_SERIENF'
      Size = 3
    end
    object cdsItensServicoITENSNF_NFSALDO_CODIGONF: TIntegerField
      FieldName = 'ITENSNF_NFSALDO_CODIGONF'
    end
    object cdsItensServicoITENSNF_COD_DANFE: TStringField
      FieldName = 'ITENSNF_COD_DANFE'
    end
    object cdsItensServicoITENSNF_VALOR_BASE_ICMS: TFloatField
      FieldName = 'ITENSNF_VALOR_BASE_ICMS'
    end
    object cdsItensServicoITENSNF_AREA_ATUACAO: TIntegerField
      FieldName = 'ITENSNF_AREA_ATUACAO'
    end
    object cdsItensServicoITENSNF_ENCARREGADO: TIntegerField
      FieldName = 'ITENSNF_ENCARREGADO'
    end
    object cdsItensServicoITENSNF_NUM_PEDIDO_CLI: TStringField
      FieldName = 'ITENSNF_NUM_PEDIDO_CLI'
    end
    object cdsItensServicoITENSNF_DATAINICIO_CONTRATO: TDateTimeField
      FieldName = 'ITENSNF_DATAINICIO_CONTRATO'
    end
    object cdsItensServicoITENSNF_DATAFINAL_CONTRATO: TDateTimeField
      FieldName = 'ITENSNF_DATAFINAL_CONTRATO'
    end
    object cdsItensServicoITENSNF_COMPETENCIA: TStringField
      FieldName = 'ITENSNF_COMPETENCIA'
      Size = 10
    end
  end
  object dspItensMercadoria: TDataSetProvider
    DataSet = QItensMercadoria
    Left = 304
    Top = 320
  end
  object dspItensServico: TDataSetProvider
    DataSet = QItensServico
    Left = 704
    Top = 360
  end
  object QItensMercadoria: TQuery
    DatabaseName = 'base'
    DataSource = DataSource1
    SQL.Strings = (
      'SELECT *'
      'FROM'
      '  ITENSNOTAFISCALVENDA'
      'WHERE'
      '  (ITENSNOTAFISCALVENDA.ITENSNF_NOTAFISCAL = :NF_CODIGO)AND'
      '  (ITENSNOTAFISCALVENDA.ITENSNF_SERVICO IS NULL)')
    Left = 112
    Top = 352
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ITENSNF_NOTAFISCAL'
        ParamType = ptUnknown
        Value = 3
      end>
  end
  object QItensServico: TQuery
    DatabaseName = 'base'
    DataSource = DataSource1
    SQL.Strings = (
      'SELECT *'
      'FROM'
      '  ITENSNOTAFISCALVENDA'
      'WHERE'
      '  (ITENSNOTAFISCALVENDA.ITENSNF_NOTAFISCAL = :NF_CODIGO)AND'
      '  (ITENSNOTAFISCALVENDA.ITENSNF_SERVICO IS NOT NULL)')
    Left = 712
    Top = 312
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ITENSNF_NOTAFISCAL'
        ParamType = ptUnknown
        Value = 4770
      end>
  end
  object QCarregaItens: TQuery
    DatabaseName = 'base'
    Left = 384
    Top = 192
  end
  object dsSituacaoRPS: TDataSource
    DataSet = DMGestao.QSituacaoRPS
    Left = 248
    Top = 192
  end
  object ActionList1: TActionList
    Left = 752
    Top = 272
  end
  object QryAux: TQuery
    DatabaseName = 'base'
    Left = 696
    Top = 216
  end
  object SaveDialog1: TSaveDialog
    Left = 256
    Top = 136
  end
  object Qaux_emanuel: TQuery
    DatabaseName = 'base'
    DataSource = DataSource1
    SQL.Strings = (
      'SELECT *'
      'FROM'
      '  ITENSNOTAFISCALVENDA'
      'WHERE'
      '  (ITENSNOTAFISCALVENDA.ITENSNF_NOTAFISCAL = :NF_CODIGO)AND'
      '  (ITENSNOTAFISCALVENDA.ITENSNF_SERVICO IS NOT NULL)')
    Left = 296
    Top = 128
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ITENSNF_NOTAFISCAL'
        ParamType = ptUnknown
        Value = 2
      end>
  end
  object TBProduto: TTable
    DatabaseName = 'base'
    TableName = 'PRODUTO'
    Left = 40
    Top = 200
  end
  object TBUF: TTable
    DatabaseName = 'base'
    TableName = 'UF'
    Left = 740
    Top = 212
  end
  object Q_VERIFICAR_SALDONF: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * from ItensNotaFiscalVenda')
    Left = 392
    Top = 240
  end
  object IdSMTP: TIdSMTP
    MaxLineAction = maException
    ReadTimeout = 0
    Port = 587
    AuthenticationType = atLogin
    Left = 168
    Top = 120
  end
  object IdMessage: TIdMessage
    AttachmentEncoding = 'MIME'
    BccList = <>
    CCList = <>
    Encoding = meMIME
    Recipients = <>
    ReplyTo = <>
    Left = 552
    Top = 136
  end
  object QContrato: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'select * from contrato'
      'where (contrato.excluido <> '#39'S'#39') or (contrato.excluido IS NULL)')
    Left = 256
    Top = 136
  end
  object DSContrato: TDataSource
    DataSet = QContrato
    Left = 464
    Top = 464
  end
  object QAreaAtuacao: TQuery
    DatabaseName = 'base'
    DataSource = DataSource1
    SQL.Strings = (
      'select * from area_atuacao'
      'where (excluido <> '#39'S'#39') or (excluido IS NULL)')
    Left = 280
    Top = 272
  end
  object DSAreaAtuacao: TDataSource
    DataSet = QAreaAtuacao
    Left = 528
    Top = 168
  end
  object DSEncarregado: TDataSource
    DataSet = QEncarregado
    Left = 448
    Top = 424
  end
  object QEncarregado: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'select * from vendedor'
      'where ( excluido <> '#39'S'#39') or (Excluido is null)')
    Left = 472
    Top = 40
  end
  object QPesquisa: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select TipoVenda.*,'
      
        'TIPVEND_CODIGOVENDA || '#39' - '#39' || TIPVEND_DESCRICAO as cod_descric' +
        'ao'
      ' From TipoVenda'
      
        'where (tipovenda.excluido is null) OR (tipovenda.excluido <> '#39'S'#39 +
        ')'
      'order By TIPVEND_CODIGOVENDA')
    Left = 192
    Top = 376
  end
  object TMovimentoEstoque: TTable
    Active = True
    DatabaseName = 'base'
    TableName = 'MOVIMENTOESTOQUE'
    Left = 16
    Top = 344
  end
  object TItensMovimentoEstoque: TTable
    Active = True
    DatabaseName = 'base'
    TableName = 'ITENSMOVIMENTOESTOQUE'
    Left = 24
    Top = 384
  end
end
